Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Problems when booting the root filesystem
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
LaoLiulaoliu
Apprentice
Apprentice


Joined: 31 Dec 2006
Posts: 199
Location: Nanjing,Jiangsu

PostPosted: Wed Nov 12, 2008 11:25 am    Post subject: [solved]Problems when booting the root filesystem Reply with quote

# 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
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Nov 12, 2008 1:44 pm    Post subject: Reply with quote

8O 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:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
LaoLiulaoliu
Apprentice
Apprentice


Joined: 31 Dec 2006
Posts: 199
Location: Nanjing,Jiangsu

PostPosted: Thu Nov 13, 2008 2:47 am    Post subject: Reply with quote

OK,it is normal thing.
_________________
Gentoo(~x86)+fvwm && Debian+gnome
Intel Pentium D,Intel Mobile GM965/GL960 Integrated
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Thu Nov 13, 2008 4:15 am    Post subject: Re: [solved]Problems when booting the root filesystem Reply with quote

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
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