LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-08-2011, 07:15 AM   #16
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145

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

I have not been using this -- just suppose it should be like this.
 
Old 01-08-2011, 07:22 AM   #17
diwljina
Member
 
Registered: Jun 2009
Distribution: Slackware, Debian
Posts: 105

Original Poster
Rep: Reputation: 8
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.

Last edited by diwljina; 01-08-2011 at 08:19 AM.
 
Old 01-08-2011, 08:50 AM   #18
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
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.
 
Old 01-08-2011, 09:30 AM   #19
diwljina
Member
 
Registered: Jun 2009
Distribution: Slackware, Debian
Posts: 105

Original Poster
Rep: Reputation: 8
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!

Last edited by diwljina; 01-09-2011 at 12:38 PM.
 
  


Reply

Tags
boot parameters, grub, lilo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
does grub (or similar) slow down boot process? angelo_maci Linux - Newbie 7 10-30-2010 04:05 PM
Grub menu slow on boot targettl Linux - Software 6 12-08-2009 07:15 PM
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 02:19 AM
BIOS to GRUB/Linux Boot Slow After Disk Transfer donv2 Linux - Newbie 2 04-22-2005 11:48 PM
FC2 with grub boot/init very slow zipo13 Fedora 9 08-03-2004 01:15 PM


All times are GMT -5. The time now is 06:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration