The Following User Says Thank You to shin For This Useful Post: | ||
|
2011-01-17
, 16:36
|
|
Posts: 355 |
Thanked: 395 times |
Joined on Dec 2009
@ USA
|
#272
|
Thanks .. I asked about gparted as it was mentioned that n900 version of gnu parted already exists.
On the command line parted, is this the one? would you know if this works without issues, did not see confirmation that it is working fine in the link above
|
2011-01-17
, 17:13
|
Posts: 16 |
Thanked: 13 times |
Joined on Sep 2010
|
#273
|
|
2011-01-17
, 17:21
|
|
Posts: 355 |
Thanked: 395 times |
Joined on Dec 2009
@ USA
|
#274
|
just in case someone is looking for the link 3 years from now and your sig has changed — gnu-parted
The Following User Says Thank You to humble For This Useful Post: | ||
|
2011-01-17
, 18:50
|
Posts: 71 |
Thanked: 9 times |
Joined on Jun 2010
|
#275
|
@ babieshame:
Short Walkthrough:
This removes MyDocs from the file system, but still all the data on partition /dev/mmcblk0p1 available.
This changes the file sytem type in the partition table from Fat32 to Linux. Still all the data there, but you would get an error after boot.
This wipes the filesystem and the data from the partition, you would stiill be able to recover with extra effort, like testdisk data recovery tool.
This will make the partition usable for the system again, but will not access your data, but make it possible to overwrite it.
This actually overwrites the data with the stuff from your optfs and the content of /home, but only the empty folder MyDocs is copied!
This unmounts the partition formerly known as MyDocs now containing the optfs.
The howto continous to create a new partition table, here called 'table' for simplicity to get the partitions mounted for the next reboot. After you wrote the table to the device, you are ready to reboot. After the reboot you simply create and then mount the new file system for the now smaller MyDocs partition.
Because you first asked about the cp command i guess there is no MyDocs existing any more. Continue like suggestedin the post above with the howto from the "mount /dev/mmcblk0p1 /mnt"-step to achieve a working setup. right now you are in the middle of nowhere.
The Following User Says Thank You to babyshamie For This Useful Post: | ||
|
2011-01-17
, 19:02
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#276
|
sudo gainroot sfdisk -l /dev/mmcblk0 mount
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
On the command line parted, is this the one? would you know if this works without issues, did not see confirmation that it is working fine in the link above
SVGClock | Flip Calendar | Ring Clock