Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 3 guests | Time: 23:23
Problems with grub [soved – no bug]
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
configfile command not working
17 posts found.Page: 1 2
 Problems with grub [soved – no bug]
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
I've just installed paldo and it really rocks!

But I have a problem: After the installation (I let paldo overwrite my master boot record) I've made a "grub-install /dev/sda" from my Debian system. After rebooting, I opened a grub command line with "c", then I entered: "root (hd0,2)" (my paldo system is on /dev/sda3). Up to this point, all worked. But after typing "configfile /boot/grub/menu.lst" I got an error message ("bad request" or something like that). This is the first time that the configfile command didn't work, so I don't know what to do.

Hope you can help me!
Profile   Private Message
Created: 2008-05-12 17:24 | Modified: 2008-11-07 13:18 by Debianux
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Sample menu.lst entrie:

Code[In neuem Fenster öffnen]
   title paldo stable (linux 2.6.24.7-paldo1-x86)
kernel /boot/linux-2.6.24.7-paldo1-x86 root=/dev/sda3 vga=0x317
initrd /boot/initramfs-2.6.24.7-paldo1-x86
savedefault


Basic grub install:

Start grub and issue root <grub name of your paldo partition>, e.g. root (hd0,0) if you're installing paldo on the first partition of your first disk, followed by setup <grub name of your boot disk>, e.g. setup (hd0); this installs grub as the bootloader for your system. Quit grub.

Grub HDDs:

sda <> hd0
sda1 <> hd0,0
sda2 <> hd0,1
sda2 <> hd0,2
...
sda10 <> hd0,9

sdb <> hd1
sdb1 <> hd1,0
...
sdb5 <> hd1,4

sdc <> hd2
sdc1 <> hd2,0
...
sdc8 <> hd2,7
Profile   Private Message   E-Mail
Created: 2008-05-13 22:03
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
That doesn't help... Instead I get the same error message that I get with the configfile command:

Code[In neuem Fenster öffnen]
Error 2: Bad file or directory type.


I had the idea to reinstall grub from my Debian system (with the chroot and grub-install commands) but this didn't work either:

Code[In neuem Fenster öffnen]
debian:/media# mkdir paldo
debian:/media# mount /dev/sda3 /media/paldo
debian:/media# chroot /media/paldo
[root@debian:/]# grub-install /dev/sda
/dev/sda: Not found or not a block device.


My paldo grub menu.lst (automatically generated):

(At the beginning there are some setkey commands.)

Code[In neuem Fenster öffnen]
title paldo stable (linux 2.6.24.7-paldo1-x86)
kernel /boot/linux-2.6.24.7-paldo1-x86
root=/dev/disk/by-uuid/ecd0f6b1-9dbd-45e5-b439-4ea1ddc72cb0
resume=/dev/disk/by-uuid/de4df1ad-788e-465b-a16a-6f187a88792a vga=0x317
initrd /boot/initramfs-2.6.24.7-paldo1-x86


I use the new paldo GNU/Linux version 1.14.
Profile   Private Message
Created: 2008-05-14 21:21 | Modified: 2008-05-14 21:24 by Debianux
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
It seems like this is not a very active forum... Does nobody have an idea to solve my problem? Otherwise I feel impelled to erase my paldo system. What a pity!
Profile   Private Message
Created: 2008-05-17 10:41
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Junior Mitglied
 
 
 
Posts: 7
Registered: 2006-09-14
What is /dev/sda3 in paldo is /dev/hda3 in Debian. Try adding this to Debian's menu.lst:

Code[In neuem Fenster öffnen]
title paldo stable (linux 2.6.24.7-paldo1-x86)
root=/dev/hda3
kernel /boot/linux-2.6.24.7-paldo1-x86 root=/dev/disk/by-uuid/ecd0f6b1-9dbd-45e5-b439-4ea1ddc72cb0 resume=/dev/disk/by-uuid/de4df1ad-788e-465b-a16a-6f187a88792a vga=0x317
initrd /boot/initramfs-2.6.24.7-paldo1-x86


Make sure that the kernel line does not break!
 
..............................
Ariszlo
Profile   Private Message
Created: 2008-05-19 13:49
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
Zitat
What is /dev/sda3 in paldo is /dev/hda3 in Debian.


No, it isn't, it seems like it were /dev/disk/by-uuid/ecd0f6b1-9dbd-45e5-b439-4ea1ddc72cb0 !?

Zitat
Make sure that the kernel line does not break!


It just broke the lines to fit in the browser window.
Profile   Private Message
Created: 2008-05-19 14:22 | Modified: 2008-05-19 14:23 by Debianux
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Junior Mitglied
 
 
 
Posts: 7
Registered: 2006-09-14
Yes, that is what you should have in the kernel line but sometimes it may help to add a separate root line between the title and kernel like this:

Code[In neuem Fenster öffnen]
title paldo stable (linux 2.6.24.7-paldo1-x86)
root (hd0,2)
kernel /boot/linux-2.6.24.7-paldo1-x86 root=/dev/disk/by-uuid/ecd0f6b1-9dbd-45e5-b439-4ea1ddc72cb0 resume=/dev/disk/by-uuid/de4df1ad-788e-465b-a16a-6f187a88792a vga=0x317
initrd /boot/initramfs-2.6.24.7-paldo1-x86


I was wrong in my previous post: unlike in the kernel line where you need an equal sign after "root", there should be no equal sign in the root line.
 
..............................
Ariszlo
Profile   Private Message
Created: 2008-05-21 22:29
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Junior Mitglied
 
 
 
Posts: 28
Registered: 2008-05-12
Unfortunately that didn't work either. I get the same error message as with the configfile command:

Code[In neuem Fenster öffnen]
Error 2: Bad file or directory type.
Profile   Private Message
Created: 2008-05-22 07:41
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Administrator
 
 
 
Posts: 426
Registered: 2004-09-09
What happens when you enter the kernel and initrd lines manually instead of using the configfile command?
Profile   Private Message   Web
Created: 2008-05-22 08:45
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Problems with grub
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
mostly we are in the irc-chat: irc.freenode.net/#paldo

In paldo we have /DEV/SDAx or /DEV/DISK/BY-UUID/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Profile   Private Message   E-Mail
Created: 2008-05-22 21:37
Highlight selected Text   Edit   Delete   Quote Reply
This topic contains further posts. Next
Page: 1 2
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a