Sugar on a Stick/Linux: Difference between revisions

m Linux instructions: Formatting correction
Another way to fix the MBR.
Line 49: Line 49:
* Also, check to see that you do not already have an existing bootloader (such as GRUB) in the MBR of your stick. (If you have not previously used this stick as a live boot, you can skip this step.) To be sure that the USB stick's MBR is wiped clean, overwrite it completely using:
* Also, check to see that you do not already have an existing bootloader (such as GRUB) in the MBR of your stick. (If you have not previously used this stick as a live boot, you can skip this step.) To be sure that the USB stick's MBR is wiped clean, overwrite it completely using:
: <tt>dd if=/dev/zero of=/dev/sdb bs=446 count=1</tt>
: <tt>dd if=/dev/zero of=/dev/sdb bs=446 count=1</tt>
* (Actually, that didn't work for me. But this did:
: <tt>lilo -M /dev/sdb</tt>
:It put in a standard MBR that boots whichever partition has been called bootable. It does not install LILO as such.)
* Unmount the drive,<br>
* Unmount the drive,<br>
: <tt>sudo umount /dev/sdb1</tt>
: <tt>sudo umount /dev/sdb1</tt>