LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-21-2005, 05:09 PM   #1
jogger
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Post Replacing floppy with flash drive for dual boot


Creating a Windows XP / Linux dual boot machine using a floppy to boot to Linux is easy enough, but...

Is there any way to use a USB flash drive instead of a floppy diskette to start booting to Linux already installed in one of the system's drive/partitions?

Any help would be greatly appreciated.

Jogger
 
Old 03-22-2005, 10:53 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
You need to write the first 512 bytes of the boot partition to the USB drive. A minor variation of this approach is often used to create a boot file usable in WinXP boot.ini to boot linux.

I will use one of my systems as an example.

-The boot partition is /dev/sda6.
-The USB drive is /dev/sdc, which I looked up in /etc/fstab on my FC3 system after the drive was automounted as a vfat partition (/media/whatever).

-Using dd:

dd if=/dev/sda6 of=/dev/sdc bs=512 count=1

This works fine on my test system, but I have had trouble with this approach on some systems.

Remember to reconfigure your BIOS to boot from the USB drive.

Last edited by WhatsHisName; 03-22-2005 at 10:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Drive Dual Boot from floppy lokizen Debian 38 06-12-2005 11:09 AM
Dual Boot LILO w/ no Floppy Drive aragonh Slackware - Installation 1 11-13-2004 11:29 PM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
Floppy driver gets activated when using USB Flash drive iradi8 Linux - Hardware 0 07-28-2004 01:13 PM
Floppy driver gets activated when using USB Flash drive iradi8 Linux - Laptop and Netbook 0 07-16-2004 11:47 AM


All times are GMT -5. The time now is 02:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration