Mounting root filesystem failed: Device or resource busy

Help with issues regarding installation of Debian

Mounting root filesystem failed: Device or resource busy

Postby ching » 2010-06-16 16:02

Hi,
I've upgraded my squeeze box to linux kernel 2.6.32-5.
But it shows mounting "here is the uuid of / " on /root failed: Device or resource busy while booting.
Here is the menuentry of linux kernel 2.6.32-5.
menuentry "Debian GNU/Linux, with Linux 2.6.32-5-amd64" --class debian --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set fc0de444-184d-4d63-959a-a885fd630712
echo Loading Linux 2.6.32-5-amd64 ...
linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=fc0de444-184d-4d63-959a-a885fd630712 ro quiet
echo Loading initial ramdisk ...
initrd /boot/initrd.img-2.6.32-5-amd64
}

It is almost same to the working one.

Any help would be appreciated.
Thanks,
Ching
ching
 
Posts: 20
Joined: 2009-03-14 08:21

Re: Mounting root filesystem failed: Device or resource busy

Postby Absent Minded » 2010-06-17 09:04

You can try adding the wait peramiter to the kernel line. I don't remember right off the top of my head what to enter but occationally this has helped others.
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
User avatar
Absent Minded
 
Posts: 3758
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.

Re: Mounting root filesystem failed: Device or resource busy

Postby ching » 2010-06-17 13:56

@Absent Minded
Hi,
It must be rootdelay, but it doesn't work for me.
Thanks anyway.
ching
 
Posts: 20
Joined: 2009-03-14 08:21

Re: Mounting root filesystem failed: Device or resource busy

Postby Absent Minded » 2010-06-17 19:07

Sounds about right. Have you booted with a Live! CD and run fsck on the partition?

***
Edited a typo
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
User avatar
Absent Minded
 
Posts: 3758
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.

Re: Mounting root filesystem failed: Device or resource busy

Postby ching » 2010-06-18 03:30

Absent Minded wrote:Sounds about right. Have you booted with a Live! CD and run fsch on the partition?

It can boot with another kernel -- 2.6.32-trunk-amd64 , so, IMO, this should not be hard disk problem.
I heard from someone that modules didn't load appropriately resulting in failing mounting fs. But I have no idea how to track the pre-mounted modules.Do you know?
Regards,
Ching
ching
 
Posts: 20
Joined: 2009-03-14 08:21

Re: Mounting root filesystem failed: Device or resource busy

Postby Absent Minded » 2010-06-18 03:47

Agreed, if you can boot okay with another kernel I would assume the partition to be fine as well (although there is a small chance this it not the case).

Unfortunantly, I have not studied the boot process well enough to be able to tell you if your message would be more Grub related or if the kernel is active by then. Have you tried purging the kernel and reinstalling it to see if maybe there happend to be some error when your system installed the new kernel, configured Grub or setup the intred?
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
User avatar
Absent Minded
 
Posts: 3758
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.

Re: Mounting root filesystem failed: Device or resource busy

Postby aspnair » 2010-06-18 03:58

Try with the actual device name like /dev/hda1 or /dev/sda1. There is no need to change your grub.cfg.
While on grub list press "e" for the kernel and edit it then and there to look something like the following, change /dev/sda1 to the appropriate device. Note that this will not persist across reboots.

Code: Select all
linux   /boot/vmlinuz-2.6.32-5-amd64 root=/dev/sda1 ro quiet


Edit:
What is the other working kernel?
You could try to regenerate your initrd for 2.6.32-5 kernel again.
Code: Select all
update-initramfs -c -t -k  2.6.32-5
Compressed Air Energy Storage, Entropy and Efficiency
http://saurorja.org/2012/06/18/compress ... fficiency/
User avatar
aspnair
 
Posts: 1247
Joined: 2009-06-18 12:27
Location: Twitter: @anand_sivaram

Re: Mounting root filesystem failed: Device or resource busy

Postby ching » 2010-06-18 05:17

wow, after trying single mode(recovery mode), the working kernel also occurs the same error. "Device or resource busy".
That's so weired and interesting, isn't it? :D
@aspnair
I've tried your methods /dev/sda1 and update-initramfs before, but it didn't work as well.
I'm now tried of facing these problems and decide to give ubuntu 10.04 a shot. Good luck to me. :)
Thanks for your helps!
Ching
ching
 
Posts: 20
Joined: 2009-03-14 08:21

Re: Mounting root filesystem failed: Device or resource busy

Postby ching » 2010-06-18 14:29

Just for update.
During installation of ubuntu 10.04, I found out my hard disk has overlapping partitions so that the ubuntu installer can't read my partition table correctly.

I really want to prove the problem - "device or resource busy" was caused by that the new kernel can't read non-standard partition table, but the things on root filesystem gone after removing the overlapping partition.

Actually, without your wishes :D , the ubuntu was also broken in my box and I did't want to try to install it with hd-media method. I'm waiting for debian dvd and ubuntu 10.04 cd now.

I hope I have a nice tomorrow! :D
ching
 
Posts: 20
Joined: 2009-03-14 08:21

Re: Mounting root filesystem failed: Device or resource busy

Postby Absent Minded » 2010-06-18 20:53

Thank you for the update. I had wondered how things would go.

Wishing you a better, more productive Debian install,
AM
Serving the community the best way I can.
Spreading the tradition of Community Spirit.
Please read some Basic Forum Philosophy
Give a man a fish, he eats for a day. Teach him how to fish, he eats for life.
Updated Nov. 19, 2012
User avatar
Absent Minded
 
Posts: 3758
Joined: 2006-07-09 08:50
Location: Washington State U.S.A.


Return to Installation

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable