Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By kniwor at 2006-04-17 00:26
After I got my Removable USB-Hard Disk I wanted to boot from it.
Finally got it working. Here's how. I will try to keep this as short as possible. And yes... this is written considering that new users may want to boot from USB.
These are the things I used. It should work for pendrives also and should work for any other Linux distribution.
First I made a 256Mb FAT16 partition on my HDD. Let us call this partition X:\
Set the X:\ partition to be active
Right click My Computer > Manage > Disk Management.
(you can make the partition here and set it active)
Now extract the SLAX iso image in the newly created X:\ using Winrar
then copy the files "vmlinuz" and "initrd.gz" which are in the X:\boot directory to X:\ - this means to copy them one level up
Then open the file isolinux.cfg in wordpad and remove boot\ ahead of vmlinuz and initrd: so, where there is "boot\vmlinuz" it becomes "vmlinuz" and wherever there is "boot\initrd" it becomes "initrd"
(You can use the "replace all" function in Wordpad to do this instead of looking for them individually in case you miss anything)
Save the file as syslinux.cfg
Extract the syslinux zip file somewhere and then open the command prompt
cd into the syslinux directory
cd once again to the win32 directory
then run
Code:
win32:\> syslinux.exe X: -f
Reboot and Enter the BIOS (usually pressing [del] or [F1] at the time of boot)
Set the USB device as primary boot device.
Reboot and if everything was done properly it should boot from the USB drive.
This assumes that your BIOS will allow you to boot from a USB device.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.