Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic after Gparted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bangerbros
n00b
n00b


Joined: 17 Apr 2012
Posts: 10

PostPosted: Tue Apr 17, 2012 7:28 am    Post subject: Kernel Panic after Gparted Reply with quote

Hello !!!


I tried to increase my disk space accorded to my gentoo / partition with gparted, after this done, no way to boot anymore on my gentoo. Before I used Gparted, gentoo was working fine.
I check my partitions table, nothing seems to be weird. I Installed an Ubuntu, in order to see if my problem was link to lilo, but update-grub recognizes my gentoo and my Zenwalk, but kernel panic still there

Kernel panic :
"Please append a correct "root=" boot option
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,9)
".
gentoo is on the partition sda8.

I don't how to fix this. Sorry for my english.

Please could you help me ?
Back to top
View user's profile Send private message
Arkhelion
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2010
Posts: 127
Location: France

PostPosted: Tue Apr 17, 2012 1:08 pm    Post subject: Reply with quote

Hi,

Did you change your partition size with the disk online (mounted)? For a /home partition, I'd say it's "quite" safe using modern FS (ext4 for instance) but for /, I wouldn't dare try it.

Boot on a liveCD (SystemRescueCD or Gentoo liveCD for instance) then:
Code:
# e2fsck -f /dev/sda8

_________________
Arkhelion
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 3973
Location: Saint Amant, Acadiana

PostPosted: Tue Apr 17, 2012 1:13 pm    Post subject: Re: Kernel Panic after Gparted Reply with quote

bangerbros wrote:

Kernel panic :
"Please append a correct "root=" boot option
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,9)
".
gentoo is on the partition sda8.

Your Gentoo is on sda8, but kernel is trying sda9. Double check your "root=" boot option.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
bangerbros
n00b
n00b


Joined: 17 Apr 2012
Posts: 10

PostPosted: Tue Apr 17, 2012 10:09 pm    Post subject: Reply with quote

Thank you for your answers.

It seems, when i inscreased the partition space, gparted might have removed an another partition. So in my /etc/fstab the "/" partition was still on sda9 but Grub tells, gentoo was on sda8.
I fixed the problem by editing /etc/fstab and update-grub.

thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum