LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-29-2004, 12:05 PM   #1
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
1680 Kb floppy fails for GRUB bootloader


Hullo

I have successfully tested 1440 Kb msdos and (since the linked post) 1440 Kb ext2 floppies for booting the 2.6 kernel using 3 floppies as per link
http://www.linuxquestions.org/questi...hreadid=223376

Below is my vain attempt to get 1680 Kb floppies to work. Note that while my normal system is live I seem to have no trouble creating the floppies but on full reboot GRUB has some trouble.

It may be a dead end as it may be my BIOS, it has 2 main options 1.44 and 2.88 for floppy and yep they seem to make no difference.

HERE are my thoughts so far.

Notes on creating ext2 formatted floppies size 1680 Kb For the Grub floppy system for kernel 2.6 series

1) All commands are in su mode
2) Create size on an UN mounted floppy using command
fdformat /dev/fd0u1680
3) Put on fs using command
mke2fs /dev/fd0u1680
4) Mount floppy for copying files with command
mount -t ext2 /dev/fd0u1680 /mnt/floppy
5) I made 3 floppies -floppy 2 has vmlinuz and floppy 3 has initrd.gz on each. Due to my success with the 1440 Kb way, I don't think its necessary to do anything to these 2 mbr's.
6) Floppy 1 needs the following files and structure
/boot/grub
/boot/grub/stage 1
/boot/grub/stage 2
/boot/grub/menu.lst (see instruction 7)

7) Open a text editor and create a file to be saved as /mnt/floppy/boot/grub/menu.lst
(contents are
device (fd0) /dev/fd0u1680
title floppy
root (fd0)
pause "insert floppy 2 then press enter"
kernel /vmlinuz root=/dev/hda1 ro
pause "insert floppy 3 then press enter"
initrd /initrd.gz

Note that you may need to change the hda1 to whatever your /etc/fstab says it should be.

8) For floppy 1 that is mounted all commands are in su mode assume press enter at end of each line
1) type grub
2) type device (fd0) /dev/fd0u1680
3) type root (fd0)
4) type setup (fd0)
The output is a success but when floppy is unmounted and rebooted grub hangs. I suspect either my BIOS or my device map is wrong.
Notice that the "1680" works on a booted linux system. Its the unbooted one that I am having trouble with.


9) Another attempt was to use a successful ext2 1440 Kb floppy 1 with an amended menu.lst
Floppy 1 menu.lst became
title floppy
root (fd0)

device (fd0) /dev/fd0u1680

pause "insert floppy 2 then press enter"
kernel /vmlinuz root=/dev/hda1 ro
pause "insert floppy 3 then press enter"
initrd /initrd.gz

NOTES Now I know that is wrong as it fails. It may work if I knew the absolute Grub speak for the device 1680 floppy hardware. What I am trying to do is, allow the 1440 Kb floppy load as in the past and then try to tell grub that the next floppy is 1680 Kb. (And same size for floppy 3)


PS I also tried a device.map file on the floppy but as you can suspect I have not got the syntax right on the floppy. The syntax for the DEVICE command has been tested and is good when my curent system is booted from the hd.
 
Old 09-11-2004, 10:37 PM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Original Poster
Rep: Reputation: Disabled
Altho this is not solved, some discussion as started on offtopic thread.

ideas include....

toms rescue floppy uses a ram drive and the size is 1722Kb so there must be a solution around any bios restrictions.

Trying different syntax and commands on the (fd) /dev/fd0u1680 with or without a device.map file on the floppy

so far no success but if this helps anyone see an error in my attempt or know how it should be done let me know.

In the unlikely event that lilo users peruse this post and know lilo can use non-single floppies to boot large kernels feel free to mention it and the source of your success.

Ignore this of course if you have a cd burner, boo hoo

Last edited by aus9; 09-11-2004 at 10:38 PM.
 
Old 09-11-2004, 11:12 PM   #3
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Original Poster
Rep: Reputation: Disabled
First looks at Toms replace kernel onto a single 1722 Kb
http://not.toms.net/twiki/bin/view/T...placeTheKernel

faq for toms
http://www.toms.net/rb/tomsrtbt.FAQ

A the kick in the navel suggests large kernel on single floppy not going to be solved by Toms
http://not.toms.net/twiki/bin/view/T...rnelWithLatest
 
Old 09-12-2004, 12:23 PM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
I tried with a fd0u1722, then fd0u1680 all attempt fail.

As in each try, I formated the 3 floppy with the same size, the failure come at first, grub does not load, I just see 4 char on screen : GRUB, that's all.

I ended to make a kernel that fit on a 1440k floppy and all went fine.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
Booting from Floppy rather than using bootloader Zmaster115 Suse/Novell 3 01-11-2005 11:18 PM
bootloader fails to install....!!!! neon2k2 Mandriva 10 08-26-2004 08:32 AM
Install Bootloader to Floppy? flamesrock Linux - Software 1 06-26-2004 09:50 AM
bootloader floppy flump Linux - General 5 08-10-2003 01:45 AM


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