LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 04-02-2004, 08:26 AM   #1
vk-gentoo
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
installing DOS on Linux laptop without floppy/CD


I created a VFAT partition and formatted it. But I can't install correctly
DOS boot sector on it. I can't just boot from the ms-dos floppy or cd and
call a:\sys or a:\format c: /s, because this laptop doesn't have any floppy or
CD drive. But I copied over the network the DOS-floppy boot sector file,
which I had created like
dd if=/dev/fd0 of=bootsec.dos count=1
Unfortunately, this boot sector is unuseful, because it is a FAT12 and when
I write it with dd if=/dev/fd0 of=/dev/hda3, I have a 1.44 Mb partition instead of 3 GB.
Are there any programm to convert and write dos floppy boot sector to the partiotion under linux?
Thanks
Vadim
 
Old 04-02-2004, 10:12 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
haha... i tried that a while ago.....

but i did it with KNOPPIX.
knoppix is a bootable linux distro on cd.

i had a 1 gig hard drive, i made the primary partiton 700 megs, and set the boot flag to true, and used dd to write the knoppix ISO directly onto the partiton.

in a sence it worked, the partiton acted exactly like a cd-drive, i couls mount it, i could read it, all the files were there, but it just wouldnt boot !

even thought i t was an exact coppy, i even tried to do the same thing, but write the iso directly onto the disk,,, no partitoning... and again, i could mount it, but not boot.

search and read up on MBR on hard disks, i think it stands for Master? Boot Record.
this is the reason it is not booting.

the basic solution, is to install dos as normal to a partiton, then install grub boot loader to the MBR, and use dual booting with the chainloader command.
 
Old 04-02-2004, 10:34 AM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Quote:
dd if=/dev/fd0 of=/dev/hda3 count=1
Try this:
dd if=/dev/fd0 of=/dev/hda3 bs=512 count=1

Edit: Try copying the DOS bootsector from the hd of another computer (you can copy it to floppy using 'dd')

Last edited by aaa; 04-02-2004 at 10:36 AM.
 
Old 04-06-2004, 05:49 AM   #4
vk-gentoo
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
ok, I found a solution. There is a programm ms-sys available on sourceforge.net,
which writes required dos boot sector.
Everything works.
Thanks and bye.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: installing Windows XP on laptop with no cd/floppy drive woes :S kevingpo General 6 10-25-2005 01:49 PM
Installing Linux from DOS Johnnyae17 Linux - Software 6 01-07-2005 10:50 AM
Installing XP and Linux on Laptop with no floppy and CDROM muhazam Linux - Laptop and Netbook 7 11-23-2004 09:01 AM
installing suse on laptop without cd-rom or floppy gvozdev Linux - Laptop and Netbook 4 11-06-2004 02:39 PM
Installing Linux on a laptop w/ no floppy or CD-ROM? jordan0 Linux - Laptop and Netbook 9 04-11-2004 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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