LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-14-2004, 06:54 PM   #1
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
how to chain load grub on a floppy?


how do i add a grub menu entry that will chainload another instance of grub that is on a floppy disk?

i've tried

Code:
title floppy disk
root (fd0)
and

Code:
title floppy disk
root (fd0)
chainloader +1
neither of which worked. what is the proper way to do this?

i know i can easily set up the floppy to boot first in the bios, but i want to have password protection. thanks for your thoughts.
 
Old 08-14-2004, 08:43 PM   #2
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
this will only work of the floppy disk in the drive is bootable.

try replacing root with rootnoverify incase the disk's format is not reconised by grub.
 
Old 08-14-2004, 08:50 PM   #3
futhark
Member
 
Registered: Nov 2003
Location: Montréal (Can)
Distribution: FC4
Posts: 110

Rep: Reputation: 15
I don't have a reply to the original question but that reminds me something I tried a while ago. Is it possible to have grub chainload a bootable cdrom?
 
Old 08-14-2004, 10:52 PM   #4
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
nope. grub will boot hard disk partitions and floppy disks, maybe even usb media, but not cd-roms.
 
Old 08-15-2004, 12:45 AM   #5
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
they're working on implementing cdrom chainloading i believe (someone had submitted a patch about a month ago).

the disk was formatted as ext2, so grub does recognize the file system. the disk is bootable because i can select boot from floppy in the bios and grub will be started from the floppy.

do i need to get it to start one of the stage files on the floppy?

Last edited by zero79; 08-15-2004 at 12:49 AM.
 
Old 08-15-2004, 09:14 AM   #6
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
okay, now im confused, i thought u had grub on a hard disk, and you were boting the hard disk, then chainloading a bootable floppy...

but you have grub on the floppy ?

but you have nothing on the floppy, just grub ?

one of us is confused !
 
Old 08-15-2004, 10:49 AM   #7
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
grub is on both the floppy disk and the hard disk mbr.

the instance of grub on the hard disk presents to me the boot options in (hd2,0)/grub/menu.lst. i want one of the options here to be able to load up and present the grub boot menu that is stored on the floppy.

the instance of grub on the floppy presents the boot options in (fd0)/boot/grub/menu.lst. i was just wondering if there was a way to start or chainload (fd0)/boot/grub/stage1 or something from the grub interface on the hard disk.

Last edited by zero79; 08-15-2004 at 10:54 AM.
 
Old 08-15-2004, 11:25 AM   #8
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
i cant see what advantage this has, but yeah, just chain load it.
 
Old 08-15-2004, 12:19 PM   #9
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
like i said, i want to password protect booting via floppy.

so now, how do i chain load grub on the floppy?

Last edited by zero79; 08-15-2004 at 12:21 PM.
 
Old 08-15-2004, 01:00 PM   #10
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
oh...

use password=(md5ed password)

info grub will tell you how to generate a passwords md5sum.
 
Old 08-15-2004, 01:13 PM   #11
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
i know how to set a password for a grub menu entry.

how do i chain load grub on the floppy?
 
Old 08-15-2004, 04:51 PM   #12
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
we seem to be going in circles...

i told you how to chainload, then you ask about passowrds, i tell you about passwords and you ask about chainloading.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub(SuSE)/Lilo(Slackware) chain loader problems The Chain Linux - Newbie 32 10-12-2006 05:24 PM
How can I chain boot GRUB (Fedora) from LILO (Slackware)? DaneM Linux - Distributions 6 07-06-2005 04:25 AM
grub doesn't auto-load kernel, time/date auto-change, k3b cannot load kenji1903 Red Hat 16 03-27-2005 08:48 PM
Floppy Fails to mount/load Darkman_2099 Linux - Hardware 8 12-01-2003 12:18 AM
Chain loading grub from lilo - help! thebeardedladie Linux - General 2 03-09-2003 03:07 PM


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