Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Tutorial Recovery Console?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 24th September 16:44
jb
External User
 
Posts: 1
Default Tutorial Recovery Console?


Is there any tutorial that explains how to use it and how to recover from
problems?

RT
  Reply With Quote


  sponsored links


2 24th September 16:44
steve lawall
External User
 
Posts: 1
Default Tutorial Recovery Console?


Hi,

you can edit corrupted files not only from your OS booted in recovery
mode but also from a Live System mode booting from your installation CD/DVD.

Here's how it works:

1) With the Kubuntu 6.10 (Edgy Eft) CD (Live System with KDE desktop -
should also work with Kubuntu 6.06)

Boot from media. Have yourself a good cup of coffee while waiting for
the desktop to appear ;-)

When Desktop has loaded, press Alt+F2, enter 'konsole' as command and
hit return or press 'run application' to open a terminal window.

In the terminal window, enter the following commands:

ubuntu@ubuntu:~$ cd Desktop

to change to your Desktop directory

ubuntu@ubuntu:~/Desktop$ mkdir hdd

to create a new folder on your desktop named "hdd"

ubuntu@ubuntu:~/Desktop$ sudo mount -t ext3 /dev/hda4
/home/ubuntu/Desktop/hdd

to mount the required partition to that folder. The option "-t" followed
by "ext3" specifies the file system of the partition to be mounted (in
my case ext3), /dev/hda4 specifies the partition to be mounted.

Of course, you have to change the command according to the specific
partition and its file system you want to mount.
If you don't know which is your linux partition, see instructions at the
bottom of this post (*).

Then enter:

ubuntu@ubuntu:~/Desktop$ sudo konqueror /home/ubuntu/Desktop/hdd

to open a Konqueror (KDE file manager) window with the mountpoint folder
already opened.

Probably you will have to press F5 first to see the contents of the
folder due to the Live System being rather slow.

The 'sudo' command is necessary because you won't be able to change
files on the partition without the root rights sudo gives you.

Now you can edit any file on your partition!

2) With Ubuntu 6.10 (Edgy Eft) CD (Live System with Gnome desktop -
should work also with Ubuntu 6.06)

When booted completely, press Alt+F2, then enter 'gksudo gnome-terminal'
as command and hit return or press 'execute' to open a terminal window
with root rights.

Then enter:

root@ubuntu:~$ cd Desktop

to change to your Desktop directory

root@ubuntu:/home/ubuntu/Desktop# mkdir hdd

to create a new folder on your desktop named "hdd"

root@ubuntu:/home/ubuntu/Desktop# mount -t ext3 /dev/hda4
/home/ubuntu/Desktop/hdd

to mount the required partition to that folder. The option "-t" followed
by "ext3" specifies the file system of the partition to be mounted (in
my case ext3), /dev/hda4 specifies the partition to be mounted.

Of course, you have to change the command according to the specific
partition and its file system you want to mount.
If you don't know which is your linux partition, see instructions at the
bottom of this post (*).

root@ubuntu:/home/ubuntu/Desktop# nautilus /home/ubuntu/Desktop/hdd

to open a Nautilus (Gnome file manager) window with the mountpoint
folder already opened.

Probably you will have to press F5 first to see the contents of the
folder due to the Live System being rather slow.

As you already opened the terminal window with root rights, it is not
necessary to enter 'sudo' to open Nautilus with root rights.

Now you can edit any file on your partition.

Hope this helps!

Steve


* If you don't know which your linux root partition is:

Boot your computer and wait for the GRUB boot menu to appear.

Select the linux entry (assuming you have a dual boot system) and press 'e'.

You'll see something like this:

root (hd0,3)
kernel /boot/vmlinuz-2.6.15-25-k7 root=/dev/hda4 ro quiet splash
initrd /boot/initrd.img-2.6.15-25-k7
savedefault
boot

The second line shows you which is your linux partition (/dev/hda4).


--
Kubuntu 6.06.1 LTS "Dapper Drake", KDE 3.5.4
E-Mail-Addresse ist gültig - Mail wird an
meinen regulären Account zugestellt.
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666