LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 04-15-2006, 02:23 PM   #1
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Rep: Reputation: 15
Finally... boot from USB-HDD


Hi guys, after i got my Removable USB-Hard Disk i wanted to boot from it.
Here's original thread.
http://www.linuxquestions.org/questi...d.php?t=432974


Finally got it working. Here's how.

These are the things I used. It should work for pendrives also and should work for any other linux also.

My 40Gb USB Hard Disk

Slax 5.1.0
http://slax.linux-live.org/download.php

Syslinux Utiltiy


First I made a 256Mb FAT16 partition on my HDD. Let us say this partition is X:\
Then Set it as active.
Right click My Computer > Manage > Disk management.
(you can make the partition here and set it active)

Now i 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:\
which means copy them one level up

Then I open the file isolinux.cfg in wordpad and remove wherever there in boot/ ahead of vmlinuz and initrd
so wherever there is "boot/vmlinuz" it becomes "vmlinuz"
and wherever there is "boot/initrd" it becomes "initrd"
(u can use the replace all in wordpad to do this instead of looking for.... in case u miss anything)
Save the file as syslinux.cfg

Extract the syslinux zip file somewhere
then open the command prompt
cd to the syslinux directory
cd once again to "win32" dorectory
then run
...win32:\> syslinux.exe X: -f

Reboot and Enter the BIOS...
(usually pressing [del] or [F1] at the time of boot)
Set USB device as primary boot device.
Reebot and if everything was done properly it should boot from USB
This is assuming that ur BIOS supports booting from USB devices.
 
Old 04-16-2006, 07:48 AM   #2
tamoneya
Member
 
Registered: Jan 2005
Location: MA
Distribution: Ubuntu 7.10
Posts: 558

Rep: Reputation: 31
should put this somewhere else in a how to or something. In the newbie forum it will get buried to quickly and wont be very useful.
 
Old 04-16-2006, 11:03 AM   #3
kniwor
Member
 
Registered: Aug 2005
Distribution: Slackware 12
Posts: 106

Original Poster
Rep: Reputation: 15
sorry my mistake.... can some1 move this elsewhere
 
Old 04-16-2006, 03:25 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Success Stories and has been moved accordingly to help your thread/question get the exposure it deserves.

Posting a tutorial is up to the author. http://www.linuxquestions.org/linux/answers/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
Loadlin to boot up usb hdd? NobleSilkFairy Linux - Newbie 1 04-14-2005 08:50 AM
help mounting new hdd-Linux finally crashed XxAndyxX Linux - Newbie 6 01-23-2005 01:35 AM
boot from USB HDD, no MOBO usb boot support magiconexxx Linux - Hardware 0 11-03-2004 12:38 AM
need help boot from usb-hdd shadow.blue Linux - General 4 04-25-2004 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration