USB Repair disk
Posted: 05 Feb 2010, 05:38
I tried to create a USB disk to reinstall my B2 following this HowTo
Anybody?
Windows XP reports "Disk in drive G is not formatted", so i format it (FAT32). Put the files in the root, but until now it is bring me any succes...root@bubba:~# sfdisk -D /dev/sdb
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdb: 1013 cylinders, 16 heads, 62 sectors/track
Old situation:
Units = cylinders of 507904 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdb1 0+ 1012 1013- 502447+ 6 FAT16
/dev/sdb2 0 - 0 0 0 Empty
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty
Input in the following format; absent fields get a default value.
<start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s>
Usually you only need to specify <start> and <size> (and perhaps <type>).
/dev/sdb1 :0 1013 6
/dev/sdb1 0+ 1012 1013- 502417 6 FAT16
/dev/sdb2 :
/dev/sdb2 0 - 0 0 0 Empty
/dev/sdb3 :
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 :
/dev/sdb4 0 - 0 0 0 Empty
New situation:
Units = cylinders of 507904 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdb1 0+ 1012 1013- 502417 6 FAT16
/dev/sdb2 0 - 0 0 0 Empty
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Do you want to write this to disk? [ynq] y
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)

Anybody?