LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-16-2004, 02:29 AM   #1
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Rep: Reputation: 15
Boot initrd FAILED!?


I have recently reinstalled Mandrake 9.2 on my machine and I was testing installing it with the security level of "higher". During bootup, Lilo prompts me to pick a type of bootup but the default is "linux-secure"... so I pick that one.

As it boots one of the first things is a failure on the following line:
Unmounting initrd: umount: /initrd: device is busy

I bootup normally and go around my business. But out of curiosity I reboot and pick other options in Lilo and I didn't get the failed initrd. All is well until I reboot and pick "linux-secure" again. Yup!

Unmounting initrd: umount: /initrd: device is busy [FAILED]

I've seen very little on this. As the matter of fact there was a post on LQ in 2002 on this very problem but it never gave a solution.

Help. Thanks in advance,

ian
 
Old 03-22-2004, 07:11 AM   #2
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
which kernel are you trying to boot?
 
Old 03-24-2004, 12:27 PM   #3
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Original Poster
Rep: Reputation: 15
Smile Thanks...

I'm using Mandrake 9.2 which is based on Linux 2.4.22.

Thanks is advance,
ian
 
Old 03-24-2004, 03:03 PM   #4
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
it could be a problem with your initrd.

try making a new initrd file

as root:

# mkinitrd initrd-<any identification>.img 2.4.22

where 2.4.22 is the name of the kernel from uname -r

change your grub/lilo file to reflect initrd as the new image you have made.
if you're running lilo be sure to run /sbin/lilo after editing the file.

if you want to be on the safe side, then make this a new entry, ie, copy all the lines, but change only the initrd filename, so that you can revert to the old one anytime you need to.

see if the new initrd helps. i've read this issue quite a few times, but can't really understand. it seems to be a problem with initrd, devfs and security modes
 
Old 03-25-2004, 10:05 PM   #5
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Original Poster
Rep: Reputation: 15
hmm...

Thanks. As a newbie I will have to read up on half of what you've just said but I'll give it a try.

Once again thanks.

ian
 
Old 03-26-2004, 01:54 AM   #6
thehundredthone
Member
 
Registered: Nov 2003
Distribution: Fedora Core 1
Posts: 76

Rep: Reputation: 15
in simple words, run (as root):

mkinitrd 2.4.22-new.img 2.4.22

then open lilo.conf or grub.conf

copy the lines that talk about the name, kernel, image:

lilo.conf looks like
Code:
image=/boot/vmlinuz-2.4.0-0.43.6
	label=linux
	initrd=/boot/initrd-2.4.0-0.43.6.img
	read-only
	root=/dev/hda5
grub.conf looks like
Code:
title Red Hat Linux (2.4.22-10)
	root (hd0,1)
	kernel /vmlinuz-2.4.22-10 ro root=/dev/hda3 hdc=ide-scsi
	initrd /initrd-2.4.22-10.img
paste these lines as new entries, changing the label/title and the initrd file name.

if you have lilo run /sbin/lilo

then restart and use the new entry

best of luck
 
Old 04-06-2004, 07:32 PM   #7
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Original Poster
Rep: Reputation: 15
thanks
 
  


Reply


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
Boot without initrd 3saul Linux - Software 3 11-07-2005 11:13 PM
SCSI boot without initrd spencerbray Linux - General 1 01-15-2005 06:29 AM
failed initrd unmount safeboot mode asainat Mandriva 3 06-25-2004 09:58 AM
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2 5150 Red Hat 2 04-17-2004 02:41 PM
moved initrd now cannot boot Casper11 Linux - Software 3 07-18-2003 04:43 PM


All times are GMT -5. The time now is 05:01 PM.

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