Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Read-only file system after install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Fri Jan 25, 2013 9:38 am    Post subject: Read-only file system after install Reply with quote

Please help!
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Fri Jan 25, 2013 10:51 am    Post subject: Reply with quote

error screen
http://imageshack.us/photo/my-images/831/sda3.png/


Last edited by next40 on Mon Jan 28, 2013 6:10 am; edited 1 time in total
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1237
Location: 42.68n 85.41w

PostPosted: Fri Jan 25, 2013 1:41 pm    Post subject: Reply with quote

you need to run fsck on the drive when it is unmounted.... your picture shows fsck wont run and is sigterming, maybe your missing sys-fs/e2fsprogs on your system? maybe its broken and needs recompilation.
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Mon Jan 28, 2013 6:12 am    Post subject: Reply with quote

i manually run fsck, this dont fix problem! (( e2fsprogs already installed

Last edited by next40 on Mon Jan 28, 2013 10:20 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1471

PostPosted: Mon Jan 28, 2013 6:38 am    Post subject: Reply with quote

Greetings, and may I say welcome to the forums.

It might help to know what type of file system it is, ie ext4, jfs, etc. and what it is (I assume /, but please confirm/correct)

I beleive /proc already being mounted is suspicious. What type of initramfs are you using? If it is a custom one, did you remember to unmount /dev /proc and /sys?


More pressing is that before you do anything else, backup the data on that disk. Use a live cd, usb drives, magnetic tape, whatever. In this case you may loose the entire drive trying to repair it. As this is in the "installing Gentoo" forum, I guess that is not really an issue.

Judging from the boot up messages, you are trying to run SELinux? What type of kernel? If you do post your .config, please use a pastbin site as long config files clutter the forum.

Please, post more information. I must say from what I am seeing I would guess a failing hard drive, but I would not be too sure.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Mon Jan 28, 2013 10:16 am    Post subject: Reply with quote

I using Genkernel
Gentoo-sources 3.5.7
Filesystem ext3
kernel config
http://pastiebin.com/?page=p&id=51064fcbe6c12

Code:

mount -o rw,remount /
rc


fixing problem, after reboot problem back

sorry my english is bad
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1471

PostPosted: Mon Jan 28, 2013 6:40 pm    Post subject: Reply with quote

Check your fstab entry. If you don't see the problem, post it here and we will take a second look. There is probably a typo.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Tue Jan 29, 2013 6:10 am    Post subject: Reply with quote

The Doctor wrote:
Check your fstab entry. If you don't see the problem, post it here and we will take a second look. There is probably a typo.

my fstab
Code:

/dev/sda1               /boot           ext2            noauto,noatime  1 2
/dev/sda3               /               ext3            noatime         0 1
/dev/sda2               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1471

PostPosted: Tue Jan 29, 2013 6:39 am    Post subject: Reply with quote

OK, so your problem is not a typo. Next on the list, I think a look at the output of dmesg may be revealing. I recommend installing wgetpaste. You may need to emerge it. You can use it by using dmesg | wgetpaste and posting the url returned. This should give us a look at your boot up process so we can see what is going wrong.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Tue Jan 29, 2013 8:19 am    Post subject: Reply with quote

The Doctor wrote:
OK, so your problem is not a typo. Next on the list, I think a look at the output of dmesg may be revealing. I recommend installing wgetpaste. You may need to emerge it. You can use it by using dmesg | wgetpaste and posting the url returned. This should give us a look at your boot up process so we can see what is going wrong.


dmesg log here
http://bpaste.net/show/73591/
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Tue Jan 29, 2013 10:38 pm    Post subject: Reply with quote

next40,

Just to leave no stone unturned, reduce your kernel line to:
Code:
root=/dev/ram0  real_root=/dev/sda3 rootfstype=ext3

_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Wed Jan 30, 2013 5:39 am    Post subject: Reply with quote

BillWho wrote:
next40,

Just to leave no stone unturned, reduce your kernel line to:
Code:
root=/dev/ram0  real_root=/dev/sda3 rootfstype=ext3


my kernel line
Code:

kernel /boot/kernel-genkernel-x86-3.5.7-gentoo init=/linuxrc doscsi root=/dev/ram0 ramdisk=8192 rootfstype=ext3  real_root=/dev/sda3 vga=0x318 video=vesafb:mtrr:3,ywrap
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Jan 30, 2013 1:55 pm    Post subject: Reply with quote

next40 wrote:
my kernel line
Code:

kernel /boot/kernel-genkernel-x86-3.5.7-gentoo init=/linuxrc doscsi root=/dev/ram0 ramdisk=8192 rootfstype=ext3 real_root=/dev/sda3 vga=0x318 video=vesafb:mtrr:3,ywrap

Yes, I know what it is from your dmesg link. Try changing it to
Code:
kernel /boot/kernel-genkernel-x86-3.5.7-gentoo  root=/dev/ram0 real_root=/dev/sda3  rootfstype=ext3 

This is for lack of any other brilliant ideas :?
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Thu Jan 31, 2013 9:30 am    Post subject: Reply with quote

BillWho wrote:
next40 wrote:
my kernel line
Code:

kernel /boot/kernel-genkernel-x86-3.5.7-gentoo init=/linuxrc doscsi root=/dev/ram0 ramdisk=8192 rootfstype=ext3 real_root=/dev/sda3 vga=0x318 video=vesafb:mtrr:3,ywrap

Yes, I know what it is from your dmesg link. Try changing it to
Code:
kernel /boot/kernel-genkernel-x86-3.5.7-gentoo  root=/dev/ram0 real_root=/dev/sda3  rootfstype=ext3 

This is for lack of any other brilliant ideas :?


i change kernel line, problem not fixed =((
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jan 31, 2013 7:30 pm    Post subject: Reply with quote

next40,

Again for lack of any brilliant ideas, boot a live cd and try e2fsck -f -cckv /dev/sda3
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Fri Feb 01, 2013 5:27 am    Post subject: Reply with quote

BillWho wrote:
next40,

Again for lack of any brilliant ideas, boot a live cd and try e2fsck -f -cckv /dev/sda3


Server is Hyper-V machine(virtual), other install gentoo successly works
Back to top
View user's profile Send private message
next40
n00b
n00b


Joined: 25 Jan 2013
Posts: 21

PostPosted: Tue Feb 05, 2013 5:26 am    Post subject: Reply with quote

other ideas?
Back to top
View user's profile Send private message
mole
n00b
n00b


Joined: 07 Nov 2009
Posts: 30

PostPosted: Mon Feb 18, 2013 9:29 am    Post subject: Reply with quote

I'm having similar issues with resierfs, suspect mine is the filesystem as I get errors why I try mount / -o remount,rw.

Did you find this post - with their solution of adding service root to boot runlevel ?

http://superuser.com/questions/193115/root-file-system-is-mounted-read-only-on-boot-on-gentoo-linux
Back to top
View user's profile Send private message
mole
n00b
n00b


Joined: 07 Nov 2009
Posts: 30

PostPosted: Wed Feb 20, 2013 3:20 am    Post subject: Reply with quote

The kernel options in this post worked for me :D

http://forums.gentoo.org/viewtopic-t-947404.html


The only option I had set incorrectly was CONFIG_TMPFS_POSIX_ACL=y which was enough to cause the problem
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum