LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-28-2007, 05:59 PM   #1
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Rep: Reputation: 30
Fedora 8 boot failure. "switchroot: mount failed..."


After installing XP on a system (In it's own partition, naturally.) and having a period without Linux, I reinstalled GRUB and tried to boot Fedora.

Quote:
mkrootdev: expected fs options
mount: missing mount point
setuproot: moving /dev failed No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
In the belief that I'd b0rked the Fedora install, I reinstalled.
Unfortunately, I get the same message every single time I try to boot.

could someone please help me fix it? I'm suffering from GNU/Linux-deprivation...
 
Old 11-29-2007, 02:52 PM   #2
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 24, 25, RHL 5.2
Posts: 560

Rep: Reputation: 56
I have seen the same errors you are experiencing when the initrd image is not correct. This could happen as a result of a change in partition or drive information. Here is one way to fix it.

1) Boot using install DVD or rescue CD in rescue mode. When it asks if you should find Fedora installations click on continue so it mounts the installation to /mnt/sysimage.
2) At the command line chroot to /mnt/sysimage.
3) cd /boot, then determine kernel version using ls vmlinuz*
4) mv initrd-2.6.x.x-x.fc8.img initrd-2.6.x.x-x.fc8.old
5) mkinitrd initrd-2.6.x.x-x.fc8.img 2.6.x.x-x.fc8
6) exit, exit and it should reboot.

replace all above x.x.x-x with the latest kernel version-release you have installed.

Bill
 
Old 11-30-2007, 06:14 AM   #3
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Original Poster
Rep: Reputation: 30
OK, thanks. I'll try that when I get back home.
 
Old 11-30-2007, 11:28 AM   #4
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Original Poster
Rep: Reputation: 30
It hasn't worked.
when I try to chroot /mnt/sysimage it throws an error message about not being able to find /bin/sh. (IIRC.)

I will try again later and note down the error message(s).
 
Old 11-30-2007, 03:08 PM   #5
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 24, 25, RHL 5.2
Posts: 560

Rep: Reputation: 56
If it does that again try chroot /mnt/sysimage /bin/bash.
 
Old 12-01-2007, 10:27 AM   #6
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Original Poster
Rep: Reputation: 30
"An error occured trying to mount some or all of your system, some of it may be located under /mnt/sysimage.
Press return to get a shell. The system will reboot automatically when you exit from the shell."

In /mnt/sysimage there is only sys, proc and something else, but I can't remember what it is right now.

I mounted /dev/sda2 on /mnt/system, and chrooted into that. However, as sys was elsewhere (/mnt/sysimage) mkinitrd failed with:
"error opening /sys/block: no such file or directory."
 
Old 12-02-2007, 12:37 AM   #7
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 24, 25, RHL 5.2
Posts: 560

Rep: Reputation: 56
That is a bummer... As you have figured out, the / and several virtual filesystems need to be mounted in order to use mkinitrd. Rescue mode can usually handle that without much trouble. I don't know the particulars behind mounting /proc, /sys, and any others. If we knew that we could do it all manually since you were able to mount /dev/sda2. I'd fire up rescue mode on my installation, but I had a CPU take a dive and am running off a temporary setup with no CD/DVD drives. Sorry I can't be much help at the moment. If that changes or I get other ideas I'll post them.

I really believe making a new initrd image will solve the problems you are having. The other solution, if you don't have anything major to lose, would be to reinstall Fedora.

Bill
 
Old 12-02-2007, 08:54 AM   #8
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Original Poster
Rep: Reputation: 30
That's the thing, this *is* a fresh re-install...
 
Old 12-05-2007, 12:44 PM   #9
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Original Poster
Rep: Reputation: 30
SOLVED. I think...

I re-installed again, this time the home partition is on the same disc as the OS.
This has booted perfectly *knocks on wood* and I have come to the conclusion that either I did the setup wrong OR that the previous configurations depended on /home being on sdb1.
The drive that used to be sdb has failed (possibly one of a dodgy batch (it's only 2 years old.)), taking /home with it. I had tried to reconfigure around this, but failed.

Therefore, this case is closed! I have Fedora again!
 
Old 09-25-2010, 02:28 AM   #10
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Fedora 8? Are you kidding? It's a 3-year-old release! It is about as EOL as Ubuntu Feisty. Try upgrading to at least F13 or many security flaws that have occurred especially with Red Hat-based Linux distributions (see this for more information) will easily catch up to you.
 
Old 09-25-2010, 02:59 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,746

Rep: Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319Reputation: 3319
@ Kenny_Strawn , post # 11 : This is a thread from May 2007.

And @roost is not using Fedora 8. @roost is a spammer.
Please see other posts by @roost, if they are not already deleted.

..
 
  


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
"Failed to Mount 1GB Volume" in SAM LInux (PCLinuxOS) distortedstar Linux - Hardware 7 04-26-2007 01:37 AM
"getaddrinfo failed: Temporary failure in name resolution" SammyK Linux - Networking 3 03-09-2005 12:43 PM
"Enabling local filesystem quotas" - boot failure Boby Linux - Software 1 01-22-2005 06:21 PM
"Disk boot failure..." after lilo writes to the MBR alexko Linux - Hardware 6 11-16-2004 10:43 AM
Linux 2.6.4 Boot Failure : "hda: max request size" tmc Linux - General 2 07-07-2004 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration