Why everything closed (read only) with the my own LFS?

thorsten fly_a320 at gmx.de
Wed Nov 17 23:39:12 PST 2004


I am sorry, the mount command should be:
mount -w -o remount /dev/hda1 /

thorsten

thorsten wrote:
> I guess you do need to add a line for your rootfs, like this
> /dev/hda1       /            ext2     defaults        1      1
> of course, you have to adopt /dev/hda1 according to your system. The 
> reason is:
> Upon boot, your rootfs gets mounted readonly automatically, however if 
> there is no entry for it in fstab, it remains readonly. The above line 
> tells the system to mount it with default mount options, which include 
> read/write. details about fstab are in the manpages fstab and mount.
> 
> After login issue the following command to get the rootfilesystem 
> remounted read/write:
> mount /dev/hda1 -w -o remount
> then you should be able to modify the fstab:-)
> 
> thorsten
> 
> Nguyen Thu Nga wrote:
> 
>> like this:
>>
>> proc          /proc        proc     defaults        0    0
>> devpts        /dev/pts     devpts   gid=4,mode=620  0    0
>> shm           /dev/shm     tmpfs    defaults        0    0
>>
>> everything is OK?
>>
>> Thank you
>> Thu Nga
>> --- rick <shelton at onr.com> wrote:
>>
>>
>>>
>>> Nguyen Thu Nga wrote:
>>>
>>>> Hi all
>>>>
>>>> I've just finished the book. Then reboot, booting
>>>
>>>
>>> is
>>>
>>>> OK but when I login (as root), run something is OK
>>>
>>>
>>> but
>>>
>>>> everything is just read-only file system.
>>>> I cannot edit modify everything!
>>>>
>>>> So what happened to me?
>>>>
>>>> Thank you
>>>> Thu Nga
>>>
>>>
>>> i don't know.
>>> What does your /etc/fstab look like?
>>> -- 
>>> ~rick
>>> -- 
>>>
>>
>> http://linuxfromscratch.org/mailman/listinfo/lfs-support
>>
>>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>>> Unsubscribe: See the above information page
>>>
>>
>>
>>
>>
>>        
>> __________________________________ Do you Yahoo!? The all-new My 
>> Yahoo! - Get yours free! http://my.yahoo.com  
>>



More information about the lfs-support mailing list