Mounting a linux file system from kubuntu live disk

Soldato
Joined
9 May 2005
Posts
7,400
Location
Berkshire
Basicaly I'm trying to modify my grub conf on my Kubuntu HDD as the boot loader is broken. I'm using a live disk at the moment.

I'm using this command but I don't know what naming convetion to use for the file system type.

"sudo mount -t <type> /dev/sdc1 /media/hddtest"

"sudo fdisk -l" gives me this:

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 9331 74951226 83 Linux
/dev/sdc2 9332 9729 3196935 5 Extended
/dev/sdc5 9332 9729 3196903+ 82 Linux swap / Solaris

What do I need to put as the type?
 
OK hangon I worked it out, mounted the drive but I can't see the grub folder?

edit: ok can see it but I don't have read / write access over the grub folder, how do i give myself that permission?
 
Last edited:
You need to be root :)
Try this from a terminal window:
Code:
sudo nano  /media/hddtest/boot/grub/menu.lst
(I assume your mountpoint is still the same :) )

-Leezer-
 
Cheers, that's exactly what I needed. Grub is all fixed now. For some reason in menu.lst even though my kubuntu HDD is actually hd2,0 it won't boot unless I change it to hd0,0.
 
Back
Top Bottom