Problems when creating Live-boot usb stick
off_by_1 at yahoo.com
Thu Jul 8 14:59:34 UTC 2010
> The question, how can I recover the original volume
> amount, 8G. If
> this is related to the file systems (ext3), which one
> should I choose
> so the volume get back to the original.
> Thanks for any kind of response.
open a terminal
'su -' become root
'fdisk -l' see existing drives
plug your stick in
'fdisk -l' find your drive
'dd if=/dev/zero of=/dev/sdb' clears out the MBR ans the partition table.
let it run for a while.
'n enter' creates a new part
'p enter' primary
'1 enter' partition number
'enter' start at 1
'enter' last cylinder
'a' make it active so you can boot it
'1' partition number 1
'p' print it to screen and make sure it looks ok
'w' write it out
Then: 'mke2fs -j /dev/sdb1 -L 8G-USB'
Unplug it and plug it back in, it should be detected as '8G-USB'
Sorry if this is too simplistic, no insult intended.
The key step is the 'dd if=/dev/zero of=/dev/sdb'
More information about the users