i8500 / red hat / kernel upgrade / acpi / LVM

HELP!!! Hi All! Just got an inspiron 8500/1G/60G/dvd+rw,cdrom/etc Successifully installed rh9.0 .. then upgraded to a patched kernel from an rpm package better .. but not perfectly, optomised for the 8500 power management. Instituted LVM, with no physiscal boot partition as this is what someone who posted a fix for rh on the 8500 .. and it sounded like a good idea. Bit frustrated by lack of support, still for power management even in the patched kernel .. so grabbed a 2.5.75 kernel ..and also a 2.6.0test4 kernel from kernel.org .. compiled ok and installed to grub loader .. .. root=LABEL=/ but it won't mount root and hangs at this point. I tried changing root to /dev/hda2 .. which is where I put linux (hda0 is the dell maintainance partition and hda1 is xp .. yes got it to load and even recompiled to get ntfs support .. successfully) I presume this is some arcane problem with LVM .. any ideas .. next step might be to start from scratch and get rid of LVM. Many thanks Stephen

Bit frustrated by lack of support, still for power management even in the patched kernel .. so grabbed a 2.5.75 kernel ..and also a 2.6.0test4 kernel from kernel.org .. compiled ok and installed to grub loader .. .. root=LABEL=/
That doesn't look like the right syntax to me root=LABEL is fine, if you've set a label on the partition already. the extra =/ looks wrong tho
but it won't mount root and hangs at this point. I tried changing root to /dev/hda2 .. which is
So you tried "root=/dev/hda2" ? Also, the full grub entry should look something like: title Debian GNU/Linux, kernel 2.4.22-pre7-smp-1 (recovery mode) root (hd0,0) kernel /vmlinuz-2.4.22-pre7-smp-1 root=/dev/hda3 ro single Does the 'root (hd0,0)' entry in your grub config point at the correct partition? hd0,0 == first harddisk, first partition. hd0,2 == first harddisk, third partition
where I put linux (hda0 is the dell maintainance partition and hda1 is xp .. yes got it to load and even recompiled to get ntfs support .. successfully)
I'm not 100% sure, but I suspect that there is no such thing as hda0. Partitions start from hda1. So if you have the Dell maintenance partition ,and then the XP partition, then linux should be on hda3? Note that the (hd0,0) notation is different to the /dev/hda1 notation. Just to confuse you Now, the wonderful thing about grub, is that you can edit its configuration at boot time. Instead of booting with one of the boot options, you can hit c or e, I forget which, to change the boot entry. You can change any line, so you can tweak the partition number and so on, and it will boot with those changes that time only. Also, grub understands linux filesystems, so you can do tab completion on kernel names
I presume this is some arcane problem with LVM .. any ideas .. next step might be to start from scratch and get rid of LVM.
That might also work, but its possible there is any easier fix :). I've not used LVM, but I'd have thought it resulted in a different partition name (ie, not /dev/hda2...) ? Daniel

On Tue, 2003-08-26 at 10:29, Daniel Lawson wrote:
Bit frustrated by lack of support, still for power management even in the patched kernel .. so grabbed a 2.5.75 kernel ..and also a 2.6.0test4 kernel from kernel.org .. compiled ok and installed to grub loader .. .. root=LABEL=/
That doesn't look like the right syntax to me
root=LABEL is fine, if you've set a label on the partition already. the extra =/ looks wrong tho
Here on my RH9 it has root=LABEL=/ . I think this means it'll choose the root partition based on the label (which label, I'm not so sure) so that you don't have to know whether it's hda3 or hda46. For me, root(h0,0) points at the partition for /boot (/dev/hda1 in my case). Which is why it's kernel /vmlinuz.... ie, relative to / grub.conf title Red Hat Linux (2.4.22-rc2) root (hd0,0) kernel /vmlinuz-2.4.22-rc2 ro root=LABEL=/ hdc=ide-scsi initrd /initrd-2.4.22-rc2.img Mount: /dev/hda2 on / type ext3 (rw) none on /proc type proc (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) /dev/hda1 on /boot type ext3 (rw) Philip Murray - Systems Engineer webmaster(a)open2view.com - Open2view.com www.open2view.com

Here on my RH9 it has root=LABEL=/ . I think this means it'll choose the root partition based on the label (which label, I'm not so sure) so that you don't have to know whether it's hda3 or hda46.
Same. The label in question is the ext2 fs label. It is specified when you create the fs or you can also change it with e2label (and maybe tune2fs). File system lables only work with ext2 and ext3 I think. Daniels thought about there needing to be a different partition for LVM systems is correct. However the usage of LABEL= on boot and in fstab may get around that. I don't have much knowledge when it comes to LVM, check the LVM howto on the LDP website. Regards -- Oliver Jones » Director » oliver.jones(a)deeperdesign.com » +64 (21) 41 2238 Deeper Design Limited » +64 (7) 377 3328 » www.deeperdesign.com
participants (4)
-
Daniel Lawson
-
Oliver Jones
-
Philip Murray
-
Stephen Pearce