Re: Grub boots from command line but not menu




Douglas Mayne wrote:

WAG: root is the magic word which causes the grub to "forget"
anything it knows about filesystems, and also reinitialize where it looks
for _its_ files. This is what I was speculating about before.

BTW, I am planning on doing some more tests with grub. I'd like to know
what exactly is required for it to be able to read from different types of
filesystems on different partitions. I think that an appropriate stage2
needs to be pre-installed on the BPB of a target partition before it can
read it (unless the target partition and last specified root partition
are using the same filesystem type.) I am not sure, but some simple tests
will tell.

I'm going to add some info that may or may not help....
(BTW - what does WAG mean ? Wagers A Guess?)

Ok..here's distro/kernel info;
$ uname -a
Linux 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux
Debian 3.1r1

Here's my relevant /boot/grub/menu.lst info
~$ sudo cat /boot/grub/menu.lst

title Debian GNU/Linux, kernel 2.6.8-2-386
root (hd0,6)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda7 ro acpi=force
apm=force
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda7 ro single
initrd /boot/initrd.img-2.6.8-2-386
savedefault
boot

# This entry automatically added by the Debian installer for a
non-linux OS
# on /dev/hda1
title Windows 95/98/Me
root (hd0,0)
savedefault
makeactive
chainloader +1

Notes;
I have no kernel image or "real" Kernel .....Nothing in /usr/src DIR --
not even a /linux Directory present. I think I'm booting from a
mini-kernel - I notice 'cramfs' in dmesg at boot time (whatever that's
worth);

~$ dmesg | grep -i cram
RAMDISK: cramfs filesystem found at block 0
VFS: Mounted root (cramfs filesystem) readonly.

.



Relevant Pages

  • Re: backing up a drive
    ... Resize the filesystem using suitable tools if possible. ... Take the data off using a tool like dump, xfsdump, cpio or ... use the free space on the target partition for other files. ...
    (Debian-User)
  • Re: 2.6.18 ext3 panic.
    ... I need to take a closer look to understand the race. ... BTW, is this 1k or 2k filesystem? ... I can reproduce it within a few hours of stressing, ...
    (Linux-Kernel)
  • Re: -current brake ufs for -stable
    ... newfs and fill filesystem works normal. ... grub saying it can't mounted that partition ... -st fsck fixing this, ... BTW Last time I really was lucky... ...
    (freebsd-current)
  • Re: [PATCH] s390: Hypervisor File System
    ... As mount point for the filesystem /sys/hypervisor is created. ... What does this mean, btw? ... I don't see code there creating a new sysfs ...
    (Linux-Kernel)
  • Re: Separate the filesystem in different physical volume
    ... >> In order to improve the read performance, I plan to create a filesystem ... BTW, this is called striping. ...
    (comp.unix.aix)