grub2 taking configuration from somewhere else
Bug #299338 reported by
Shirish Agarwal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
grub2 is taking configuration from somewhere else and hence its not booting the way it boots from menu.lst
Would be giving both the menu.lst as well as grub.cfg so people can take a shot at this.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: grub2 1.96+20080724-
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_IN
SourcePackage: grub2
Uname: Linux 2.6.27-7-generic i686
To post a comment you must log in.
The differences as I see are here :-
menu.lst shows :-
title Debian GNU/Linux, kernel 2.6.27-7-generic 2.6.27- 7-generic root=UUID=some UUID ro img-2.6. 27-7-generic
root (hd0,0)
kernel /vmlinuz-
initrd /initrd.
### BEGIN /etc/grub. d/10_linux ### 2.6.27- 7-generic root=UUID=same UUID as given in menu.lst ro quiet splash img-2.6. 27-7-generic
set root=(hd0,1)
search --fs-uuid --set some different UUID
menuentry "Ubuntu, linux 2.6.27-7-generic" {
linux /vmlinuz-
initrd /initrd.
}
Now the issue is
a. Why does it set root at (hd0,1) and not (hd0,0)
b. What is this
search --fs-uuid --set some different UUID
Why there is some different UUID here
Obviously in both the files just from a security concern I have not put up the UUID's which are given therein.
Output of df -h
$ df -h 2.6.27- 7-generic/ volatile
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 4.0G 14G 23% /
tmpfs 501M 0 501M 0% /lib/init/rw
varrun 501M 128K 501M 1% /var/run
varlock 501M 4.0K 501M 1% /var/lock
udev 501M 2.8M 498M 1% /dev
tmpfs 501M 748K 500M 1% /dev/shm
lrm 501M 2.0M 499M 1% /lib/modules/
/dev/sda1 1.9G 48M 1.8G 3% /boot
/dev/sda3 53G 21G 30G 42% /home
/dev/sdb1 466G 71G 395G 16% /media/FreeAgent Drive
Obviously, the device where all the action should be is at :-
/dev/sda1 1.9G 48M 1.8G 3% /boot
I know I have kept much much more than ever its going to be needed but that's another thing altogether.
If anybody needs some more info. feel free to ask the same here.