View Single Post
RogerS's Avatar
Posts: 772 | Thanked: 183 times | Joined on Jul 2005 @ Montclair, NJ (NYC suburbs)
#25
Cantona,

I am very much in the position you describe, except for using a different LiveCD, one with Mepis instead of Ubuntu.

In my case, I worried very closely about whether the mmc card was automatically mounted (it wasn't). But seeing how the mount/unmount worked with the hard disks looked easy enough.

Partition software
In the K menu in Mepis -- the equivalent of Windows' Start menu -- I looked for utilities and found QTparted in a folder of system utilities. I'm guessing that it is parted built with QT widgets.

Resize partition 1
QTparted is graphical, and highlighting the first item (partition) in the list in the righthand pane made a menu option available that I was able to use to specify a new size for it -- instead of 995 mb, 64mb (as Wolf suggests) or 128mb (as Dr K suggests -- or does he say 995-128?) or 800mb as you want. I think this is identified as FAT16. You're not doing anything here except specifying the size you want it, and that the rest of the mmc card is unused. Was this command called Resize partition? Something like that.

Anyway now you have a smaller-than-1GB partition and the rest of the disk is identified as free space.

Create partition 2
You select the line about the free space and choose the Create operation, where you set the size of this second partition (all available space in my case and yours) and specify ext3 as the partition type.

The graphic now shows two partitions, but you have to choose Commit for the changes to be made. This means you can go back and adjust things if you didn't get them right in the two dialogs.

Shutdown
Then after all this, the 770 has to be rebooted. As Wolfram notes in his instructions, you should use the shutdown command.

In my case, the shutdown command didn't work -- I wasn't root. In Xterm, I typed "sudo gainroot' and hit enter to gain root access, and then the shutdown command as Wolfram indicated.

Make sure you have Xterm
In order to become root, I had just reflashed my 770 with a new firmware image, the one with root enabled. So before I even started, I made sure I installed Xterm.

I don't know if parted is a command line utility, but I would bet that the Ubuntu LiveCD has this kind of software with a graphical interface, even if it's not QTparted.

Maybe some other, more experienced Linux users will correct my misstatements and identify the pertinent differences that show up in Ubuntu.

Step 2 -- stop
I then made a mistake I should warn you against. Wolfram describes the second step in great detail and lists five very long commands to enter in XTerm.

Don't enter these.

The shell script
Farther down, after talking about step three in general terms (for instance, he suggests directories to move but doesn't explain how to do that for Linux innocents like me), he provides a shell script that does step 2 and 3 for you.

In my case, I chose to follow his suggestions as to the directories to swap out, but you can edit those first before running the script.

I also had difficulty getting this shell script onto the 770 mmc card so I could run it. I couldn't get Opera on the 770 to download it,. So I downloaded it using Firefox on the LiveCD and mailed it to myself at Gmail. Then I couldn't download it as an attachment.

Ultimately I re-attached the 770 to the PC and transferred the file to the mmc card in the usual fashion, and then I was able to run it in Xterm.

Roger

PS: I found a good description of how QTparted works in PC magazine: pcmag.com/article2/0,1895,1902337,00.asp
This was after I used it, of course.

PPS: I looked at this post before clicking submit and realized it was so long it was hard to follow. So I inserted the bold phrases just to make it easier to read. I don't really think this way: heading, text, heading, text.
__________________
N900 Guide Brief intro to the Nokia N900 (http://n900guide.com/)
Maemoan since July 2005 )