Re: mounting root filesystem issue ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Graham Turner wrote:
Andy, thanks for mail back

i think i had but anyways re-run of "fsck -f /dev/hda2" gives no error indication as completes checks

duly noted on labels etc and  i will change back

any other views ?

----- Original Message ----- From: "Andy Green" <andy@xxxxxxxxxxx>
To: "For users of Fedora" <fedora-list@xxxxxxxxxx>
Sent: Tuesday, July 24, 2007 8:58 AM
Subject: Re: mounting root filesystem issue ?


Somebody in the thread at some point said:

I think the initial issue was a power outage, causing the machine to
shutdown in an unorderly manner. The installation was originally a RH9

/chmod: changing permissions of /var/log/wtmp'; read-only file system /
/etc /

You don't mention if you did a forced fsck on /dev/hda2, seeing stuff
like your FS is readonly can mean that your filesystem is in dire need
of a good combing.

If you boot off the install DVD or CD1, and choose

linux rescue

you will be able to do

fsck -f /dev/sda2

note that the first line was originally /label=/   /but i changed this
on reading potential issues with labels (even though e2label reports
corrected labels).

Similarly the boot command in grub.conf was changed so as to read;

/kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/hda2 /
/initrd /initrd-2.6.18-1.2798.fc6.img /

Labels will save you some hassle when you upgrade your kernel... recent
kernels changed accessing IDE stuff to go through the SCSI layer,
meaning that IDE HDD device names change from /dev/hdx to /dev/sdx.
Labels allow the right partition to be found despite this, whereas with
your current setup naming the device using the old names, it won't
succeed to boot.

-Andy

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


I was having a problem with no swap partitions being found. I looked at my fstab and both swap partitions had huge long labels. That was the problem. I changed everything on fstab from lables to actual locations like /dev/sdb2 and it's all working fine now. Both swap partitions are found.


--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux