LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-04-2005, 06:38 PM   #1
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Rep: Reputation: 30
linux boot CD


for the past 5-6 months I have had to boot from a floppy disk, and it takes about 5 minutes to boot the kernel off of the floppy...I want to make a boot CD to work like my boot floppy, my CD-R/RW drive is only detected as a CD-ROM drive in linux for some reason, so I have to do this in windows does anyone know how I can do this?

And using a program like Record Now! isn't an option as the floppy drive in the windows box is really screwy, so I thought about maybe making a tar.gz archive of the boot floppy, and then uploading it to my private FTP server...then on windows, download the tar.gz archive (yes I can uncompress the archive) then burn what is in the archive to CD...I'm not sure if this would work or not, so I am going wait for a reply before I try it.
 
Old 02-04-2005, 06:53 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Any particular reason you can't use a bootloader (lilo or grub)? It would make your life a lot easier than using boot media every time.

Creating the boot cdrom is not trivial, but not too tough. Give this page a read:
http://tldp.net/HOWTO/Bootdisk-HOWTO/cd-roms.html

After making the iso you can ftp it to your windows box and burn...
 
Old 02-04-2005, 07:51 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Check out the man page for 'mkbootdisk'.
On some distributions, there is an --iso option. So that command would be:
makebootdisk --iso <kernel-version>

This will produce an .iso image of a boot disk that you can burn to cdrom. With a 2.6 kernel, the kernel is too large to make a boot floppy. The Mandrake mkbootdisk script doesn't have an --iso option, but the mkrescue script does.
Another option is to produce a lilo boot floppy. This would entail changing the 'boot=' entry to 'boot=/dev/fd0' and rerunning /sbin/lilo. This just write the lilo boot-strap loader to floppy. The kernel and initrd files will load from the hard disk.
Read through the lilo or grub documentation for more details. Also, the www.tldp.org site should have many how-to's of interest.
 
Old 02-04-2005, 09:37 PM   #4
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by bulliver
Any particular reason you can't use a bootloader (lilo or grub)? It would make your life a lot easier than using boot media every time.

Creating the boot cdrom is not trivial, but not too tough. Give this page a read:
http://tldp.net/HOWTO/Bootdisk-HOWTO/cd-roms.html

After making the iso you can ftp it to your windows box and burn...
I can't use a bootloader because of read errors...I have been trying to fix the problem for about 6 months...I may have figure it out though.

I get this error when running the mkisofs:

mkisofs: Missing pathspec.
Usage: mkisofs [options] file...

Use mkisofs -help
to get a list of valid options.

I'm not sure why though
 
Old 02-04-2005, 09:45 PM   #5
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Quote:
Originally posted by jojotx0
I can't use a bootloader because of read errors...I have been trying to fix the problem for about 6 months...I may have figure it out though.
? What sort of 'read errors' ?

Anyway, mandrake has mkrescue --iso, which is cool... Not sure about options for other linuxies...
 
Old 02-04-2005, 09:51 PM   #6
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
I get "GRUB loading 2Read error" the Read error part showing up about 1/2 second after "GRUB loading 2"

I tried mkbootdisk --iso 2.4.22-1.2115.nptl
it starts reading the floppy drive, and after about 5-10 minutes it stops...I search for an iso image and there are none...except for smootwall.iso (downloaded it, transfered it over to windows with pen drive) I think there may be somthing I am supposed to do other than adding the --iso option
 
Old 02-04-2005, 10:16 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I sounds to me like your boot floppy is bad, and the 'mkbootdisk --iso' command is trying to copy files from it. I think your best bet is to read up one of the how-to's on how to use the XP's NTLDR.EXE program to boot into linux from the hard drive rather than using a boot disk.

If you are having a problem booting up, you could boot up using the installation disk. I'm assuming that the installation disk uses the grub boot loader.
Press the escape key at the first prompting so you get into the text mode instead. Press the 'c' key to get in the command mode. Now you could either locate the 'menu.lst' file (usually in /boot/grub/menu.lst) or enter the 'kernel' 'initrd' and 'root' lines yourself and then the 'boot' command. You can use grub's autocompletion feature to save a lot of typing. This should allow you to start linux normally, instead of chroot'ing to your root partition.

After that, you can install the boot loader on the root partition and continue with the instructions in the how-to

Last edited by jschiwal; 02-04-2005 at 10:23 PM.
 
Old 02-04-2005, 10:23 PM   #8
jojotx0
Member
 
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Original Poster
Rep: Reputation: 30
I just remembered I had another drive with windows on it, I can't run both hard drives at the same time though, and I normally run linux...see why I forgot I had it? just so everyone knows, I can't run both drives at once because if I have them both connected and powered, it just freezes at "Updating DMA pool...." during boot of the computer, and I am nearly 100% sure that it's the psu, so, does anyone know of a program for windows that makes iso images? I know I have burning software that can make a CD into an ISO, but is there any programs that can make a floppy into an ISO?
 
  


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
Is there a file that Linux writes upon boot that is the EXACT text as the boot screen lostboy Linux - General 21 01-08-2008 02:10 PM
Cannot boot up on Linux, have to boot onto Linux-nonfb after installing nvidia driver /home/kyle Linux - Newbie 6 09-15-2004 11:23 AM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM
dual boot - XP and Linux - Need to reinstall XP without effecting linux -LILO boot godofmind Linux - General 1 05-05-2004 08:13 AM
Linux Boot Floppy Went Bad on W2K-Linux Dual Boot rzward Linux - General 2 01-15-2003 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:33 PM.

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