Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 03-21-2005, 06:09 PM   #1
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.

Old 03-22-2005, 11:53 AM   #2
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 11:56 AM.


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

All times are GMT -5. The time now is 03:19 PM.

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