View previous topic :: View next topic |
Author |
Message |
LaoLiulaoliu Apprentice
Joined: 31 Dec 2006 Posts: 199 Location: Nanjing,Jiangsu
|
Posted: Wed Nov 12, 2008 11:25 am Post subject: [solved]Problems when booting the root filesystem |
|
|
# emerge reiserfsprogs
fstab:
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda12 /boot ext3 noatime 0 0
/dev/sda10 / reiserfs noatime,notail 0 1
/dev/sda11 /var reiserfs noatime,notail 0 0
/dev/sda9 /home reiserfs noatime,notail 0 0
/dev/sda13 none swap sw 0 0
/dev/sda7 /mnt/sda7 ext3 noatime 0 0
/dev/sda8 /mnt/sda8 reiserfs noatime,notail 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/sdb1 /mnt/usbfs vfat noauto,user,exec 0 0
When booting...
* Checking root filesystem ...
Reiserfs super block in block 16 on 0x80a of format 3.6 with stand journal
Blocks (total/free):2664880/2147539 by 4096 bytes
Filesystem is clean
Filesystem seems mounted read-only.Skipping journal replay
Checking internal tree ... finished
* Remount root filesystem read/write
I want to ask why my root filesystem mounted as read-only,then remount.How to set my fstab to avoid it,to let it correctly booting?
Thank you! _________________ Gentoo(~x86)+fvwm && Debian+gnome
Intel Pentium D,Intel Mobile GM965/GL960 Integrated
Last edited by LaoLiulaoliu on Thu Nov 13, 2008 2:52 am; edited 1 time in total |
|
Back to top |
|
|
djinnZ Advocate
Joined: 02 Nov 2006 Posts: 4831 Location: somewhere in L.O.S.
|
Posted: Wed Nov 12, 2008 1:44 pm Post subject: |
|
|
Its normal (non only on linux but BSD,unix,xenix,ultrix,aix and more others), in order to check and repair it correcly the root filesystem and to prevent corruptions at boot time is so, from a far past (~40 years).
If some others unoperative systems not do it, is another question.
For some special cases (root fs mounted on ramfs on a embedded system) you can override the default with a kernel parameter. _________________ scita et risus abundant in ore stultorum sed etiam semper severi insani sunt
mala tempora currunt...mater stultorum semper pregna est
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist |
|
Back to top |
|
|
LaoLiulaoliu Apprentice
Joined: 31 Dec 2006 Posts: 199 Location: Nanjing,Jiangsu
|
Posted: Thu Nov 13, 2008 2:47 am Post subject: |
|
|
OK,it is normal thing. _________________ Gentoo(~x86)+fvwm && Debian+gnome
Intel Pentium D,Intel Mobile GM965/GL960 Integrated |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Thu Nov 13, 2008 4:15 am Post subject: Re: [solved]Problems when booting the root filesystem |
|
|
It is probably a good idea to set the pass option so that fsck is done at boot. Notice the last column numbers.
Code: | /dev/sda12 /boot ext3 noatime 0 1
/dev/sda10 / reiserfs noatime,notail 0 2
/dev/sda11 /var reiserfs noatime,notail 0 2
/dev/sda9 /home reiserfs noatime,notail 0 2
/dev/sda7 /mnt/sda7 ext3 noatime 0 2
/dev/sda8 /mnt/sda8 reiserfs noatime,notail 0 2
/dev/sda13 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/sdb1 /mnt/usbfs vfat noauto,user,exec 0 0
|
|
|
Back to top |
|
|
|
|
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
|
|