Linux – /etc/fstab Read only

27 May

1. edit GRUB, set menjadi singgle –> dengan menekan tombol e –> edit dengan
menambahkan single –> esc –> b

GNU GRUB  version 0.97  (638K lower / 1037184K upper memory)
+————————————————————————-+
| root (hd0,0)                                                            |
| kernel /boot/vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet console>  |
| initrd /boot/initrd-2.6.18-92.el5.img                                   |
|                                                                         |
|                                                                         |
+————————————————————————-+
Use the ^ and v keys to select which entry is highlighted.
Press ‘b’ to boot, ‘e’ to edit the selected command in the
boot sequence, ‘c’ for a command-line, ‘o’ to open a new line
after (‘O’ for before) the selected line, ‘d’ to remove the
selected line, or escape to go back to the main menu.

[ Minimal BASH-like line editing is supported.  For the first word, TAB
lists possible command completions.  Anywhere else TAB lists the possible
completions of a device/filename.  ESC at any time cancels.  ENTER
at any time accepts your changes.]

<uiet console=tty0 console=ttyS0,9600n8 single

2. remount
sh-3.2# mount /dev/hda1 / -o remount,rw

3. edit /etc/fstab
sh-3.2# vi /etc/fstab

4. reboot

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: