View previous topic :: View next topic |
Author |
Message |
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Fri Jan 25, 2013 9:38 am Post subject: Read-only file system after install |
|
|
Please help! |
|
Back to top |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Fri Jan 25, 2013 1:41 pm Post subject: |
|
|
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 |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Mon Jan 28, 2013 6:12 am Post subject: |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Mon Jan 28, 2013 6:38 am Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Mon Jan 28, 2013 10:16 am Post subject: |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Mon Jan 28, 2013 6:40 pm Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Tue Jan 29, 2013 6:10 am Post subject: |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Tue Jan 29, 2013 6:39 am Post subject: |
|
|
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.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Tue Jan 29, 2013 8:19 am Post subject: |
|
|
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 |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Jan 29, 2013 10:38 pm Post subject: |
|
|
next40,
Just to leave no stone unturned, reduce your kernel line to:
Code: | root=/dev/ram0 real_root=/dev/sda3 rootfstype=ext3 |
_________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Wed Jan 30, 2013 5:39 am Post subject: |
|
|
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 |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Wed Jan 30, 2013 1:55 pm Post subject: |
|
|
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
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Thu Jan 31, 2013 9:30 am Post subject: |
|
|
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 |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Thu Jan 31, 2013 7:30 pm Post subject: |
|
|
next40,
Again for lack of any brilliant ideas, boot a live cd and try e2fsck -f -cckv /dev/sda3 _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Fri Feb 01, 2013 5:27 am Post subject: |
|
|
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 |
|
|
next40 n00b
Joined: 25 Jan 2013 Posts: 21
|
Posted: Tue Feb 05, 2013 5:26 am Post subject: |
|
|
other ideas? |
|
Back to top |
|
|
mole Tux's lil' helper
Joined: 07 Nov 2009 Posts: 81
|
|
Back to top |
|
|
mole Tux's lil' helper
Joined: 07 Nov 2009 Posts: 81
|
Posted: Wed Feb 20, 2013 3:20 am Post subject: |
|
|
The kernel options in this post worked for me
https://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 |
|
|
|