LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   GRUB slow boot (https://www.linuxquestions.org/questions/slackware-14/grub-slow-boot-854866/)

guanx 01-08-2011 07:15 AM

Maybe mkinitrd ... ... -r "UUID=480f7a86-d229-4809-92aa-e4e3a19a734e"

I have not been using this -- just suppose it should be like this.

diwljina 01-08-2011 07:22 AM

I thought about it too, but didn't worked. Besides, I didn't regenerated initrd for Debian either and it works with UUID and without it.

Edit:
Changed root line for generic kernel, (replaced UUID with partition name) and error message is the same, so it has nothing to do with UUID.

guanx 01-08-2011 08:50 AM

What error message? What has nothing to do with UUID? You have boot (mounting root fs) error and X driver error. The latter has obviously nothing to do with UUID.

By looking into "/boot/initrd-tree/init", it's obvious that the UUID can be either a kernel command line option or a mkinitrd option. Both cases are supported.

diwljina 01-08-2011 09:30 AM

This error message:
Code:

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2 filesystem (and not
swap or ufs or something else), then the superblock is corrupt, and you
might try running e2fsck with an alternate superblock:
  ef2csk -b 8193 <device>

An error occurred during the root filesystem check
You will now be given a chance to log into the system in single user mode to
fix the problem

If you are using the ext2 filesystem, running e2fsck -v -y <partition> might
help.

It only happens with Slack with generic kernel and initrd. Custom kernel without initrd works, as well as huge kernel. Debian with initrd also works. So, problem is with my initrd for generic kernel.

This error message is the same whether lilo.conf is this:
Code:

image = /boot/vmlinuz-generic-smp-2.6.33.4-smp
 initrd = /boot/initrd.gz
 root= /dev/sdb1
 append="i915.modeset=1"
 label = Slack-generic
 read-only

or

Code:

image = /boot/vmlinuz-generic-smp-2.6.33.4-smp
 initrd = /boot/initrd.gz
 root="UUID=480f7a86-d229-4809-92aa-e4e3a19a734e"
 append="i915.modeset=1"
 label = Slack-generic
 read-only

So UUID works just as partition name, problem is probably my initrd.

append="i915.modeset=1" solved problem with X.

Edit:
Since my Lenovo now boots fast with lilo and I am able to use both OS's, I can mark this thread as solved. initrd is problem of it's own. Thank you all for your help and time!


All times are GMT -5. The time now is 04:57 AM.