I had a bit more trouble going that route...I couldn't boot at all.
To make a boot USB from scratch; that happens to be located at
/dev/sdb; I execute:
Code:
sudo syslinux -i /dev/sdb1
to add the bootloader
Code:
sudo dd conv=notrunc bs=440 count=1 if=/usr/lib/syslinux/mbr.bin of=/dev/sdb
to add the master boot record.
(Notice the bootloader went on to
sdb1; whereas the MBR went to
sdb.
The machine responded:
Code:
1+0 records in
1+0 records out
440 bytes (440 B) copied, 0.00609754 s, 72.2 kB/s
I then set the USB to be bootable:
Code:
sudo parted /dev/sdb set 1 boot on
It told me:
Code:
Information: You may need to update /etc/fstab.
...which I can ignore.
At this point in the process my once very blank USB automounts to
/media/something_or_otherI then give it something to boot up. I already have a mount point at
/media/cdrom so I thought I would just use that.
I mount the ISO
Code:
sudo mount -t iso9660 -o loop /home/wadda/ISO/navigatrix.iso /media/cdrom
...pointing to the location I keep the file.
Then I copy all the data over to the USB that has auto mounted itself to /media/and_a_unique_ID_number that I located through the file manager.
Code:
sudo cp -a /media/cdrom/* /media/10E9-0493/
Since the FAT32 filesystem is not sophisticated it kicked out many errors telling me that permission could not be transferred and that the operation was not permitted....not to worry. They can be ignored as well.
However, I didn't pre-set the configuration file, or it's location when I installed the bootloader. It is looking for it in the default location with the default name.
I have to move (rename) them.
Code:
sudo mv /media/10E9-0493/isolinux/isolinux.cfg /media/10E9-0493/isolinux/syslinux.cfg
and
Code:
sudo mv /media/10E9-0493/isolinux/ /media/10E9-0493/syslinux
Tedious, but it works when other methods fail.
...but wait! The fun doesn't stop here.
There is no persistent media on the USB. Any personal configurations/modifications will not carry over from session to session.
You can
fix this by hitting the
<esc> key when the blue splash screen first appears. Hit
<esc> repeatedly until the blue screen turns black and stays black.
In the upper left corner will appear:
boot:You enter
fix and then hit
<enter>.
This will create the persistent media to preserve your personal configurations.
Now, take a break and have a beer. This only has to be done once, or whenever you want to reset your configuration back to the original settings.