LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-07-2004, 05:15 PM   #1
hoe
Member
 
Registered: May 2004
Location: Fredericton, NB Canada
Distribution: Mepis
Posts: 81

Rep: Reputation: 15
Unhappy Grub Editing


Hi: I have two hard disks with three operating systems and using GRUB. I am booting Windows and Mepis okay but haven't yet figured out what to put in the Menu.list for FedoraCore3. Fedora is on hdb3. Here is what l have so far in my menu:

default saved
timeout 15
color cyan/blue white/blue
foreground ffffff
background 2f5178
splashimage /boot/grub/mepis.xpm.gz

title MEPIS at hdb4, kernel 2.6.7
kernel (hd1,3)/boot/vmlinuz-2.6.7 root=/dev/hdb4 nomce psmouse.proto=imps quiet splash=verbose vga=791
initrd (hd1,3)/boot/initrd.mepis
savedefault

title MEPIS at hdb4, kernel 2.4.26
kernel (hd1,3)/boot/vmlinuz-2.4.26 root=/dev/hdb4 nomce quiet splash=verbose vga=791 hdc=ide-scsi hdd=ide-scsi
initrd (hd1,3)/boot/initrd.mepis
savedefault

title Windows XP at hda1
root (hd0,0)
rootnoverify
makeactive
chainloader +1

title MEMTEST
kernel /boot/memtest86.bin

title Use a qwerty keyboard with GRUB
setkey y y
setkey Y Y
setkey q q
setkey Q Q
setkey w w
setkey W W
setkey a a
setkey A A
setkey semicolon semicolon
setkey colon colon
setkey z z
setkey Z Z
setkey m m
setkey M M
setkey comma comma
setkey less less
setkey period period
setkey greater greater
setkey slash slash
setkey bracketright bracketright
setkey backslash backslash
setkey doublequote doublequote
setkey 1 1
setkey exclam exclam
setkey 2 2
setkey at at
setkey 3 3
setkey numbersign numbersign
setkey 4 4
setkey dollar dollar
setkey 5 5
setkey percent percent
setkey 6 6
setkey caret caret
setkey 7 7
setkey ampersand ampersand
setkey 8 8
setkey asterisk asterisk
setkey 9 9
setkey parenleft parenleft
setkey 0 0
setkey parenright parenright
setkey minus minus
setkey backquote backquote
setkey tilde tilde
setkey braceright braceright
setkey question question
setkey braceleft braceleft
setkey quote quote
setkey underscore underscore

title Utiliser un clavier azerty avec GRUB
setkey y y
setkey Y Y
setkey a q
setkey A Q
setkey z w
setkey Z W
setkey q a
setkey Q A
setkey m semicolon
setkey M colon
setkey w z
setkey W Z
setkey comma m
setkey question M
setkey semicolon comma
setkey period less
setkey colon period
setkey slash greater
setkey exclam slash
setkey dollar bracketright
setkey asterisk backslash
setkey percent doublequote
setkey ampersand 1
setkey 1 exclam
setkey tilde 2
setkey 2 at
setkey doublequote 3
setkey 3 numbersign
setkey quote 4
setkey 4 dollar
setkey parenleft 5
setkey 5 percent
setkey minus 6
setkey 6 caret
setkey backquote 7
setkey 7 ampersand
setkey underscore 8
setkey 8 asterisk
setkey caret 9
setkey 9 parenleft
setkey at 0
setkey 0 parenright
setkey parenright minus
setkey less backquote
setkey greater tilde
setkey numbersign braceright
setkey backslash question
setkey bracketright braceleft
setkey braceleft quote
setkey braceright underscore

title Benutze qwertz Tastatur mit GRUB
setkey y z
setkey z y
setkey Y Z
setkey Z Y
setkey equal parenright
setkey parenright parenleft
setkey parenleft asterisk
setkey doublequote at
setkey backquote equal
setkey plus bracketright
setkey minus slash
setkey slash ampersand
setkey ampersand percent
setkey percent caret
setkey underscore question
setkey question underscore
setkey semicolon less
setkey less numbersign
setkey numbersign backslash
setkey colon greater
setkey greater bar
setkey asterisk braceright
setkey caret backquote
setkey backslash minus
 
Old 11-07-2004, 07:05 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
I don't think I've ever seen anythin quite like this ...
title Use a qwerty keyboard with GRUB

But anyway, if you are booted up into MEPIS, you can mount the FC3 system so you can have a look in it's /boot directory to see what it has for a kernel and initrd. Also, if your lucky there may be a menu.lst to look at. Then you can put that info into your MEPIS grub.

mkdir /mnt/test
mount /dev/hdb3 /mnt/test
 
Old 11-07-2004, 07:45 PM   #3
hoe
Member
 
Registered: May 2004
Location: Fredericton, NB Canada
Distribution: Mepis
Posts: 81

Original Poster
Rep: Reputation: 15
Hi Homey: Thanks for the quick reply but l finally through trial, error and persistance got it figured out. Fedora boots up for me now. Mepis installed GRUB so this file is in MEPIS boot/grub/menu.lst of course. It now lets me boot up 2 Mepis kernels,XP or Fedora Core 3. Here it is:

default saved
timeout 15
color cyan/blue white/blue
foreground ffffff
background 2f5178
splashimage /boot/grub/mepis.xpm.gz

title Windows XP at hda1
root (hd0,0)
rootnoverify
makeactive
chainloader +1

title MEPIS at hdb4, kernel 2.6.7
kernel (hd1,3)/boot/vmlinuz-2.6.7 root=/dev/hdb4 nomce psmouse.proto=imps quiet splash=verbose vga=791
initrd (hd1,3)/boot/initrd.mepis
savedefault

title MEPIS at hdb4, kernel 2.4.26
kernel (hd1,3)/boot/vmlinuz-2.4.26 root=/dev/hdb4 nomce quiet splash=verbose vga=791 hdc=ide-scsi hdd=ide-scsi
initrd (hd1,3)/boot/initrd.mepis
savedefault

title Fedora Core 3 at hdb3
root (hd1,2)
kernel /boot/vmlinuz-2.6.8-1.541 root=/dev/hdb3
initrd /boot/initrd-2.6.8-1.541.img

title MEMTEST
kernel /boot/memtest86.bin

title Use a qwerty keyboard with GRUB
setkey y y
setkey Y Y
setkey q q
setkey Q Q
setkey w w
setkey W W
setkey a a
setkey A A
setkey semicolon semicolon
setkey colon colon
setkey z z
setkey Z Z
setkey m m
setkey M M
setkey comma comma
setkey less less
setkey period period
setkey greater greater
setkey slash slash
setkey bracketright bracketright
setkey backslash backslash
setkey doublequote doublequote
setkey 1 1
setkey exclam exclam
setkey 2 2
setkey at at
setkey 3 3
setkey numbersign numbersign
setkey 4 4
setkey dollar dollar
setkey 5 5
setkey percent percent
setkey 6 6
setkey caret caret
setkey 7 7
setkey ampersand ampersand
setkey 8 8
setkey asterisk asterisk
setkey 9 9
setkey parenleft parenleft
setkey 0 0
setkey parenright parenright
setkey minus minus
setkey backquote backquote
setkey tilde tilde
setkey braceright braceright
setkey question question
setkey braceleft braceleft
setkey quote quote
setkey underscore underscore

title Utiliser un clavier azerty avec GRUB
setkey y y
setkey Y Y
setkey a q
setkey A Q
setkey z w
setkey Z W
setkey q a
setkey Q A
setkey m semicolon
setkey M colon
setkey w z
setkey W Z
setkey comma m
setkey question M
setkey semicolon comma
setkey period less
setkey colon period
setkey slash greater
setkey exclam slash
setkey dollar bracketright
setkey asterisk backslash
setkey percent doublequote
setkey ampersand 1
setkey 1 exclam
setkey tilde 2
setkey 2 at
setkey doublequote 3
setkey 3 numbersign
setkey quote 4
setkey 4 dollar
setkey parenleft 5
setkey 5 percent
setkey minus 6
setkey 6 caret
setkey backquote 7
setkey 7 ampersand
setkey underscore 8
setkey 8 asterisk
setkey caret 9
setkey 9 parenleft
setkey at 0
setkey 0 parenright
setkey parenright minus
setkey less backquote
setkey greater tilde
setkey numbersign braceright
setkey backslash question
setkey bracketright braceleft
setkey braceleft quote
setkey braceright underscore

title Benutze qwertz Tastatur mit GRUB
setkey y z
setkey z y
setkey Y Z
setkey Z Y
setkey equal parenright
setkey parenright parenleft
setkey parenleft asterisk
setkey doublequote at
setkey backquote equal
setkey plus bracketright
setkey minus slash
setkey slash ampersand
setkey ampersand percent
setkey percent caret
setkey underscore question
setkey question underscore
setkey semicolon less
setkey less numbersign
setkey numbersign backslash
setkey colon greater
setkey greater bar
setkey asterisk braceright
setkey caret backquote
setkey backslash minus
 
  


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
Editing Grub onelung02 Suse/Novell 3 10-27-2004 04:45 AM
Editing Grub Permaximus Linux - Newbie 9 09-22-2004 10:14 AM
need help editing grub orionpc84 Linux - Newbie 5 09-12-2004 12:50 AM
editing grub pcmatt Linux - General 7 11-21-2002 11:49 PM
Grub: Editing Kryptow Linux - Newbie 4 09-05-2002 02:47 AM


All times are GMT -5. The time now is 12:26 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration