LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-10-2011, 09:42 PM   #1
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Rep: Reputation: 41
How can I make a bootable DOS usb drive in Linux?


Hello everyone,

I have a linux ubuntu pc with superuser access, and a windows xp pc with no administrator access so I cannot make use of any formatting tool in that.

Regards,
archieval
 
Old 07-11-2011, 12:16 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
The tools are parted and fdisk.
What is the problem you are trying to solve?
 
Old 07-11-2011, 01:48 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,052

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
I would be most surprised if either of those could create a "bootable DOS usb drive".
Have a look here
 
Old 07-11-2011, 05:00 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,036

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Assuming you effectively want to boot DOS, the first thing you need is a DOS version (either commercial, or something like FreeDOS, which I recommend).

If I remember well, unetbootin can create boot disks and pendrives, not only for *nix like OSes like Linux and BSDs, but also for FreeDOS. So, try that tool.
 
Old 07-11-2011, 04:09 PM   #5
jefro
Guru
 
Registered: Mar 2008
Posts: 11,013

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
This is the freedos way, but may be a a newer way too. http://bensbits.com/blog/2007/08/21/...b_flash_drive/


I think you can run these tools from a standard user. If not make a bartsPE disk and boot to it or use the linux equivalent commands. I think bart's site has some of this.

http://blogs.oracle.com/dragonfly/en...sb_flash_drive
 
Old 07-11-2011, 09:41 PM   #6
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Original Poster
Rep: Reputation: 41
Hello everyone,

@Simon
I am trying to make a bootable usb drive with dos. Or if possible, make that usb drive to have bootable dos and linux, interchangeble with the use of a grub.

@everyone
Thank you for the replies. I will try each of these, but those that will require installation on windows xp, I have no administrative access to do that. And also I don't have a floppy drive, only a dvd-ro drive. I have already read some, and those that requires dismantling the hard drive and other drives, I can't do that as I am in the office.

Regards,
archieval
 
Old 07-12-2011, 07:30 AM   #7
DJ Shaji
Member
 
Registered: Dec 2004
Location: India
Distribution: Debian Squeeze, Fedora 17
Posts: 414
Blog Entries: 15

Rep: Reputation: 74
If you can get a floppy "image" from somewhere, all you have to do is to "dd" it to your pen drive.

Code:
dd if=dos.img of=/dev/<device>
 
Old 07-12-2011, 08:15 PM   #8
jefro
Guru
 
Registered: Mar 2008
Posts: 11,013

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
Just a note. If you dd some file to a pen drive be sure you know what is what. dd is will remove all data from the target.

Not all flash drives are bootable or even can be made to boot. HP has some tools for the real tough ones. Most new ones are easy to get to boot.
 
Old 07-13-2011, 04:08 PM   #9
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Oh you want your usb-drive to act like a DOS boot disk.
Yeah - this would mean copying over from a bootable floppy image - you'll also have to edit the image since it will likely have references to A:\ which can produce errors.

But why does it have to be DOS?
Why not make a bootable linux drive instead?
 
Old 07-14-2011, 01:53 AM   #10
DJ Shaji
Member
 
Registered: Dec 2004
Location: India
Distribution: Debian Squeeze, Fedora 17
Posts: 414
Blog Entries: 15

Rep: Reputation: 74
I wouldn't think there would be any difference between flash drives; they're just a bunch of memory sticks stuck intto USB ports. Its like saying some CDs can be made bootable and some can't.
 
Old 07-14-2011, 04:30 PM   #11
jefro
Guru
 
Registered: Mar 2008
Posts: 11,013

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
Yes, flash drives have been quite quirky for years. Just because they claim a usb standard doesn't mean the hardware after it is standard. In fact they can't even follow the usb standard.
They are not simply a memory chip and an connector and it is not anything like a cd so you can't compare the two.
There are hundreds of web pages devoted to it. HP made a few applications even to try to correct usb flash drives for customers. You don't think HP would do that for kicks?
 
  


Reply

Tags
dos, usb thumb drive


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make bootable usb Flash drive hunzak Linux - Newbie 5 10-11-2010 01:42 PM
make a USB drive bootable cccc Linux - General 2 10-25-2008 11:23 PM
How do you make a usb drive bootable? comcastuser Linux - General 4 06-25-2007 02:19 AM
how to make usb thumb drive bootable with Redhat enterprise linux 3 niranjan_mr Linux - Hardware 2 11-05-2006 04:47 PM
can you make a usb drive bootable? citrus Linux - Newbie 4 05-16-2004 04:00 AM


All times are GMT -5. The time now is 02:17 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