LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-10-2006, 04:22 AM   #1
pathall
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
FC5t3 error: mount: could not find filesystem '/dev/root'


I've run linux on laptops for years, but with very superficial knowledge:
I never had to learn how to fix problems, cause I never had problems...
...until my latest laptop. I installed FC2 and it worked fine. I managed
to get FC4 to install after much work, but it wouldn't boot, so I tried
upgrading to FC5test3. Successful install, but it still won't boot.

The error(s) are "Unable to access resume device" on my swap partition
and "mount: could not find filesystem '/dev/root'" even if I eliminate
the swap partition from /etc/fstab.


Here's the exact error I get when I try to boot.
Tabbed entries only show up when I boot without the quiet flag.
(this was copied from the screen... is it written to a file somewhere?)

scsi0 : ata_piix
Vendor: ATA Model: FUJITSU MHV2100A Rev: 0000
Type: Direct-Access ANSI SCSI revision: 05
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
Unable to access resume device (/dev/hda3)
Creating root device.
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
Mounting root filesystem.
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
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
Switching to new root and running init
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
[<c011a0c6>] panic+0x3e/0x170 [<c011cc17>] do_exit+0x71/0x6cf
[<c011d2f9>] sys_exit_group+0x0/0xd [<c0102bc1>] syscall_call+0x7/0xb


Here's what things look like from rescue mode:

fdisk -l:
Disk /dev/sda: 100.0 GB, 100030242816 bytes
16 heads, 63 sectors/track, 193821 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 203 102280+ 83 Linux
/dev/sda2 204 189758 95535720 83 Linux
/dev/sda3 189759 193821 2047752 82 Linux swap / Solaris

more /etc/fstab:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/sda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

e2label /dev/sda1: /boot
e2label /dev/sda2: /
e2label /dev/sda3: Bad magic number in super-block while trying to open /dev/sda3
Couldn't find valid filesystem superblock.


So it seems like /root trying to be mounted on /dev ... maybe
because fdisk understands my swap setup but e2label doesn't?
I'd appreciate any tips on how to get things to work.
(dmesg output can be supplied, but I didn't see anything helpful in it.)


Oh, and there may also be some odd duplications in df and /etc/mtab:

df:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev 1029980 0 1029980 0% /dev
/tmp/loop0 70272 70272 0 100% /mnt/runtime
/dev/sda2 94036504 33132464 56127256 38% /mnt/sysimage
/dev/sda1 99043 7652 86277 9% /mnt/sysimage/boot
/dev 1029980 0 1029980 0% /mnt/sysimage/dev

more /etc/mtab:
/dev/sda2 / ext3 rw,defaults 0 0
/dev/sda1 /boot ext3 rw,defaults 0 0
proc /proc proc rw,defaults 0 0
none /proc proc rw,defaults 0 0
sysfs /sys sysfs rw,defaults 0 0
none /sys sysfs rw,defaults 0 0


Relevant system configuration:

Intel Pentium M 2.0 GHz (Intel 915GM)
2GB DDR2 RAM (2 x 1GB 200-pin SODIMM)
1 HDD 100GB "with ATA-100 support" (SATA?)

lspci:
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:03.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
01:07.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)
01:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
01:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
 
Old 03-10-2006, 10:39 PM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Edit your fstab & the grub boot loader to get rid of the LABEL=/ crap. Tell it to mount the physical device (i.e. /dev/sda2 /). Fedora/Redhat is the only distro I am currently testing that mounts file systems via labels. It sucks when you are doing multipartition distribution installs.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 08:34 PM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM

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

All times are GMT -5. The time now is 10:55 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
Open Source Consulting | Domain Registration