1 |
On Saturday 19 April 2008, Gyuszk wrote: |
2 |
> I can unmount my /boot and /home partitions but I just can't |
3 |
> remount my root device to be readonly. (Linux says it is busy.) What |
4 |
> should I do with this? |
5 |
> |
6 |
> 1.) Should I edit my Grub menu.lst to make a new entry with "single |
7 |
> ro" kernel parameteres? |
8 |
> 2.) Of course I can fsck from (for example) a LiveCD (like Gentoo |
9 |
> minimal cd), but at the present I don't have any of these. |
10 |
> 3.) Other solution? |
11 |
|
12 |
Of course: it's in use :-) |
13 |
|
14 |
Two options: |
15 |
|
16 |
1) force partition check with the following command (seen recently in |
17 |
this list) |
18 |
shutdown -Fr |
19 |
|
20 |
2) create the file /forcefsck |
21 |
touch /forcefsck |
22 |
then reboot, during shutdown you'll see "A full fsck will be forced on |
23 |
next startup" and then "Checking root filesystem (full fsck forced)" |
24 |
|
25 |
See the scripts /etc/init.d/halt.sh, /etc/init.d/checkfs |
26 |
and /etc/init.d/checkroot to see all the "nuts and bolts" |
27 |
|
28 |
Ciao |
29 |
Francesco |
30 |
|
31 |
-- |
32 |
Linux Version 2.6.24-gentoo-r4, Compiled #2 PREEMPT Wed Apr 2 08:07:24 |
33 |
CEST 2008 |
34 |
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2004.03 Bogomips Total |
35 |
aemaeth |
36 |
-- |
37 |
gentoo-user@l.g.o mailing list |