You are not logged in.

#1 2009-07-14 06:43:46

mohammad
Member
Registered: 2009-07-06
Posts: 7

Access another partition from the cd

Can any body tell me how to get access to another partition from the installation cd?
i have install Arch at /dev/sda7 then i add kde desktop.
i add kdm to daemon but i forget to add hal.
after reboot the login window will appear but the keyboard and mouse not working.

Offline

#2 2009-07-14 07:18:34

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Access another partition from the cd

If you are not comfortable with the arch CD you may prefer something like Knoppix where all partitions appear on the desktop upon booting up.


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2009-07-14 15:41:02

miau
Member
Registered: 2009-05-06
Posts: 202

Re: Access another partition from the cd

mohammad wrote:

Can any body tell me how to get access to another partition from the installation cd?
i have install Arch at /dev/sda7 then i add kde desktop.
i add kdm to daemon but i forget to add hal.
after reboot the login window will appear but the keyboard and mouse not working.

Boot the Arch-CD login with "root".
Then create a directory for example "hd"

mkdir hd

Mount the partition to this directory with the mount command "mount -t "filesystem" /dev/sda_your-filesystem-number /hd"

Could look like this:

mount -t ext3 /dev/sda7 /hd

Change ext3 with the filesystem of the partition you want to mount.

Done:) Now you can access your old disk under /hd .

Offline

#4 2009-07-23 10:13:47

m7d
Member
Registered: 2009-07-23
Posts: 2

Re: Access another partition from the cd

First boot from arch installation cd

nano /etc/fstab

add this line under mount filesystem:

/dev/sda7        /home        ext4        defaults        0    0

save the file then exit
enter this command:

mount /dev/sda7
nano /home/etc/rc.conf

change then save and reboot..
enjoy

Last edited by m7d (2009-07-23 10:14:36)

Offline

#5 2009-07-25 17:44:14

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Access another partition from the cd

Yeah, and of course you can chroot to it too smile

You can search on google for chroot + gentoowiki/archwiki, and you will so much describtion about this basic operation.

Offline

Board footer

Powered by FluxBB