LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-06-2011, 04:14 AM   #1
dman777
Member
 
Registered: Dec 2010
Distribution: Gentoo
Posts: 232

Rep: Reputation: 8
Grub- Send kernel mounting paramaters and does it use switch_root?


My new KVM guest system won't boot up after grub....it complains the root filesystem has invalid options and Grub tries to mount it also as Ext3 when it's confirmed Ext4- and so it mounts the rootfs as read only. The custom kernel and fstab are from another working KVM Guest so I know they are good. I'm thinking something might of gone wrong with Grub install. There's no initrd involved.

Can anyone tell me:
1) Grub hands the filesystem mount parameters to the kernel, correct?
2) Does grub actually use switch_root?
 
Old 10-06-2011, 05:09 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
1) grub hands on (untouched) any parms that aren't for it. As it happens the kernel does likewise, which is how things can be passed to the initscripts.
2) no - it neither knows nor cares.

Do you have ext4 support compiled in ?. Have you fsck'd the filesystem ?.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Harddisk Paramaters lord loh. Linux - General 4 04-07-2008 10:32 PM
running a command with paramaters it obtains from a file eNtoS Linux - Newbie 3 06-13-2006 05:49 PM
Shell dislpay paramaters dpvone Linux - Enterprise 3 06-08-2006 12:36 PM
kernel paramaters for install sh4d0w13 Debian 3 03-11-2005 02:32 PM
Strange Hanging on First boot, Config Kernel Paramaters, FC3 LinuxFox Fedora - Installation 6 03-06-2005 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration