LinuxQuestions.org
Review your favorite Linux distribution.
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 09-03-2005, 07:52 AM   #1
Electrified
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Rep: Reputation: 15
FC4 Read Only


I have installed Fedora Core PPC on my PowerMac 466 and after some trouble (Disc was labeled as msdos) it booted. But /etc/fstab was really fucked up with allot of stange symbols so I made a new one. Now it only mount / as read only
The line in fstab looks like this
Code:
/dev/hda3	/            	ext3     	defaults       	1 	1
Is this wrong?

EDIT: Remounting root as read/write is failing

EDIT2: I remember having this problem some other time when I just had recompiled my kernel. But this was on a PC. Do you think there might be anything wrong with the kernel? (It's 2.6.11-1.1369_FC4)

Last edited by Electrified; 09-03-2005 at 11:16 AM.
 
Old 09-04-2005, 01:48 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Code:
/dev/hda3	/            	ext3     	defaults       	1 	1
Is this wrong?
Yes.

Check what grub.conf says is the root partition, and see that you have a root=LABEL=/ in the kernel line.

Here is my fstab (for fc4 OK, but it should be OK)
Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults                        1 1
LABEL=/boot             /boot                   ext3    defaults                        1 2
/dev/devpts             /dev/pts                devpts  gid=5,mode=620                  0 0
/dev/shm                /dev/shm                tmpfs   defaults                        0 0
/dev/proc               /proc                   proc    defaults                        0 0
/dev/sys                /sys                    sysfs   defaults                        0 0
LABEL=swap               swap                   swap    defaults                        0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,managed 0 0
/dev/hdc                /media/cdrecorder       auto    pamconsole,exec,noauto,managed 0 0
This should provide a comparison. The labels are spelled out in grub.conf. I hope you kept a backup of the original fstab?
 
Old 09-04-2005, 03:42 AM   #3
Electrified
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Since I'm on a Mac I can't use GRUB. I use yaboot instead. I've tried LABEL=/ in fstab and root=LABEL=/ in yaboot but then I get "Unable to resolv Label=/" And I've tried e2label /dev/hda3 / but it still doesn't work.
I'm going to compile a new kernel and se if it works.

EDIT: This is really strange. When I plugged in the mac harddrive into my PC with FC3 and booted it couldn't remount root But when I removed it again it worked just fine. How the hell can the mac disc, Which isn't even mounting, Stop my PC root drive from remounting?!?

EDIT2: I think the solution to the problem would be to get LABEL=/ to work. When I boot I get
Code:
fsck.ext3: Unable to resolve 'LABEL=/'
Why do I get this error message?

Last edited by Electrified; 09-04-2005 at 07:33 AM.
 
Old 09-04-2005, 10:12 AM   #4
Electrified
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Ok now it's booting. I had to remove the read-only option in yaboot and change LABEL=/ to /dev/hda3. But now I'm afraid fsck will fsck up my drive. Does anyone know why I can't use LABEL= in /etc/fstab???

Last edited by Electrified; 09-05-2005 at 01:04 AM.
 
Old 09-04-2005, 06:47 PM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
so your root partition was hda2 not hda3 as you said at first.
you will probably find things become clearer if you fdisk -l

how to use label= will probably be explained in the documentation that comes with your bootloader.
 
Old 09-05-2005, 01:05 AM   #6
Electrified
LQ Newbie
 
Registered: Oct 2003
Posts: 23

Original Poster
Rep: Reputation: 15
Sorry, It is hda3. hda1 is a partitiontable or something on mac, hda2 is where the apple bootstrap is och /hda3 is my root.
 
Old 09-06-2005, 02:42 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
good good - it seems popular for manufacturers to include a very small (a few kay) recovery partition at the beginning of the HDD. This can sometimes cause confusion.
 
  


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
Dual Boot Windows XP & FC4 with FC4 already installed kt8993 Linux - General 8 10-18-2006 05:26 PM
Can't read Pilot device in FC4 rwillard Linux - General 3 12-02-2005 11:06 AM
FC4: "GRUB Loading Stage2... read error" at startup Kropotkin Fedora 2 12-01-2005 06:29 PM
Read write problem on CD-RW and floppy in FC4 anthonyt Fedora 1 10-28-2005 03:21 AM
failed "Read Cd/Dvd Capacity" FC4 on a HP Pav8000 evans0409 Linux - Hardware 4 10-14-2005 06:50 PM


All times are GMT -5. The time now is 04:11 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