What makes my usb device bootable?
Hi i have used this afternoon the http://unetbootin.sourceforge.net/ unetbootin to make my usb bootable. I have chosen the Damn Small Linux distribution. The unetbootin have downloaded the appropriate image and copied the appropriate files to the usb device.
The process has been completed succesfully.
After that i changed bios entries so the system will use the flash disk to boot my operation system. The problem is that i never made it to boot from flash disk. The system completely ignored it.... Even after i deleted all the alternative boot entries (hard disk and dvd rom) and the flash disk was the only option the system keep promtping me to insert an appropriate usb flash disk for booting..
So iw as wondering if there is something with my usb device (perhaps not all usb devices can be bootable especially the cheapest ones) or i have to manually convert my usb device to bootable..
So here comes the question. What makes my usb device bootable?
Thx in advance!
Syslinux or Grub/Lilo can all do it I believe.
Syslinux works solely with FAT16/32 formatted USB's.
I would be careful with Unetbootin if I were you-that's how I screwed up my HD mbr.
My DSL below for USB is ready to go...and comes with Qemu VM persistent save!!
To install syslinux to USB "syslinux -s -f /dev/sdxx"
Where "xx" is your USB (sdf1/sde1/sdb1, etc) (-s for older systems)
( -f =force)
You also must set the "boot" flag on the USB-use Gparted
Right-click on your USB in Gparted and select "manage flags" and check the boot box.
What distro are you installing from??
Also-most helpful to put a forward-slash (/) in these places on syslinux.cfg-
kernel /linux24 initrd=/minirt24.gz display /boot.msg F1 /boot.msg ETC
Thx for your reply. I am using opensuse 11.1 and i want using unetbootin to install damn small linux on my usb drive or xubuntu( i am trying to make just one distro to launch)
-Using gparted i just checked that the boot flag was already checked
-And using syslinux i got the following
syslinux -s -f /dev/sdc
syslinux: this doesn't look like a valid FAT filesystem
syslinux -s -f /dev/sdc1 (this one returned nothing)
After these two steps nothing have happened at boot time :(
Plz keep posting
In general what makes a USB drive bootable is the same as any other disk i.e. a boot sector, master boot record and the boot/system files. Obviously your computer's BIOS must be capable of booting from a USB device. Some BIOS's have a legacy mode where a USB drive is recognized as a regular drive.
There are several methods for creating creating a bootable drive i.e. unetbootin, mkbt, HP's flash boot utility, syslinux, grub etc or even the old fashion DOS sys command.
Difficult to tell if it is a hardware problem or something that went awry with the method you used to create the bootable disk.
Here is another method:
Also-if you cannot boot off USB-there is a DSL bootfloppy-
( http://distro.ibiblio.org/pub/linux/...small/current/ )
Also-We really need more info about your BIOS and your PC?
Yesterday I made a bootable USB stick so I could install eeebuntu on my eee701.
I learnt a few things:
[*] The ubuntu 8.10 live CD has a menu option to create a bootable USB device, which is so easy to use it's a joke: You can point it at any .ISO that you'd like to boot, it doesn't have to be one of the 'buntus. Then it just does its magic and writes all that is needed to your USB stick.
[*] BUT I found the USB stick would not boot if it was formatted as FAT32, but only if it was formatted as FAT16.
So the steps are:
Boot from an ubuntu 8.10 live CD
Prepare your memory stick:
Plug in your stick. Wait for it to be recognised.
Open a terminal, and become root and see how things are set up:
Unmount your stick
1. Type p to show the existing partition and d to delete it
2. Type p again to show any remaining partitions (if partitions exist, repeat the previous step to delete them)
3. Type n to make a new partition
4. Type p for primary partition
5. type 1 to make this partition one
6. hit enter to use the default first cylinder
7. hit enter again to use the default last cylinder
8. type a to make this partition active (bootable)
9. type 1 to select partition 1
10. type t to change it's file system
11. type 6 to select the fat16 file system
12. type w to write the new partition table
Format it as FAT16:
Now fire up the ubuntu "Create Bootable USB stick." (It's in the System -Admin menu I think). Select the ISO file you wish to have booted. Select the USB stick (be careful here, do not select your HDD!). It does its magic.
Unmount the stick.
Set your BIOS so it will boot from USB.
Boot from it :)
Boot your windows PC from it.
Choose "Try this distro live from CD" (or similar) from the initial menu. Do not click on "Install"
The ubuntu desktop will (eventually) appear. It will be slow because it is running from a CD, not your HDD.
Follow the instructions I gave you for preparing your USB stick to boot the ISO of your choice.
Then shutdown the live ubuntu, and remove both the stick and the CD ROM you booted ubuntu from.
Take the formatted (FAT16) and "prepared to boot an ISO image" to your other PC and boot from it.
Ok guys one more try again again.
I have found that my motherboard is an asus P5QL SE (just a link of specs i found http://www.ascent.co.nz/productspeci...?ItemID=376760)
I have used unetbootin to install DSL in a fat 16 partition (not fat 32 this time). The process was completed succesfully but unfortunately one more time it didnt boot! So i am really dispaired now
can u please attach or display the "syslinux.cfg" for DSL unetbootin did??
after that I can tell u surefire way....
It seems pretty big for me!!!
OK-I'm gonna show you how I do it....
Original syslinux.cfg from DSL-embedded-
Now-to utilize the mydsl extensions and backup.tar.gz you should make 2 partitions on the usb.
DSL recognizes USB's as sda1/sda2, etc.
Make the first partition 55MB, and the second whatever you want...
Put the DSL-embedded on sda1, leaving sda2 empty...
Also-I use FAT32 exclusively as I have had problems with FAT16...
Also-to install syslinux you need to know the device name-yours is sdc1??
If so try "sudo syslinux -s -f /dev/sdc1"
To find out if syslinux was installed to usb-
open the usb and a file named "ldlinux.sys" should be there-that's syslinux.
OK-if all is well, try to reboot into dsl via usb
NOTE-at the boot line enter "dsl mydsl=sda2"
It will designate that and create a folder there named mydsl.
DO NOT ADD ANY APPS YET!
Now, update the mydsl database, then make sure the backup box is checked at the shutdown menu-and reboot.
At boot time enter "dsl mydsl=sda2 restore=sda2"
though nothing to restore it will know where to go.
Now-at the desktop-open a root shell and type
sda2 should be mounted
type "mkdir /mnt/sda2/mydsl/modules"
and "mkdir /mnt/sda2/mydsl/optional"
and then "cp /KNOPPIX/lib/modules/2.4.31/kernel/drivers/block/cloop.o mnt/sda2/mydsl/modules"
Now backup and reboot...
run it again-it should now restore everything, At desktop-start installing themes/apps, etc
do a backup and reboot, making sure it all works...
Hope that helps a little-please post again if any issues....
Here's my USB 4GB Kingston $10-15
Yea-I caution against unetbootin/fusbi as that's how I lost Windows XP....sometimes it doesn't work right...
It's easier my way anyway...
Download DSL-embedded-4.4.10 from their site(DSL) and go with that.
Embedded is made for USB..
Please post again...
|All times are GMT -5. The time now is 03:47 AM.|