Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Access ext3 partition from Gentoo LiveCD
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Nicholas
n00b
n00b


Joined: 24 May 2007
Posts: 13

PostPosted: Thu May 24, 2007 6:55 pm    Post subject: Access ext3 partition from Gentoo LiveCD Reply with quote

How can I access my ext3 partition (where Ubuntu is installed and has all my files) from the Gentoo LiveCD? Ubuntu mounts these automatically so I never learned how to do this manually.
Back to top
View user's profile Send private message
maczo
n00b
n00b


Joined: 24 Oct 2006
Posts: 45
Location: Warsaw

PostPosted: Thu May 24, 2007 7:06 pm    Post subject: Reply with quote

OK. I am not an expert on LiveCD, but I assume it has ext3 drivers compiled. So IMHO it should be enough to do
Code:

mount -t ext3 /dev/... /mnt/...

where after dev/ you put your partition name and instead of 'mnt' destination mount point.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 24, 2007 7:08 pm    Post subject: Reply with quote

Hi.

Start by running on the gentoo live-cd fdisk -l - it will show you what partitions you have in your system. To mount a partition you need to run mount -t <filesystem-type> -o <list-of-options-separated-by-commas> /dev/<partition-device-node> /<path>/<to>/<mount>. As an example you can use:
Code:
# mount -t ext2 /dev/hda1 /mnt/gentoo

You must have the dir where you want to mount the partition. The above example will fail if you have no /mnt/gentoo dir. You also need to choose the correct partition. Look at partitions with Id=83. Don't try to mount any partition with Id=82 as that is the swap partition.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Nicholas
n00b
n00b


Joined: 24 May 2007
Posts: 13

PostPosted: Thu May 24, 2007 7:16 pm    Post subject: Reply with quote

Thank you maczo and jmbsvicetto!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum