ubuntu-users Digest, Vol 26, Issue 289
Johan Ramm-Ericson
ubuntu at ramm-ericson.se
Mon Oct 30 07:31:42 UTC 2006
On Mon, October 30, 2006 wade wrote:
> Date: Sun, 29 Oct 2006 17:10:46 -0700
> From: wade at wadesmart.com
> Subject: RE: Mount a hd with ubuntu on it
> To: "Ubuntu user technical support, not for general discussions"
> <ubuntu-users at lists.ubuntu.com>
> Message-ID:
> <20061029171046.ee8ace0f2c1f5306d64c0b7669778979.f179aa266f.wbe at email.secureserver.net>
>
> Content-Type: TEXT/plain; CHARSET=US-ASCII
>
> 10292006 1808 GMT-6
>
> I got the drive up and I can see the drive partitions on my screen.
>
> One of them says:
> Partition 2 does not end on a cylinder boundry,
> three says the same thing.
>
> There are four partitions.
> hdd1 hpfs/ntfs - that must be my original windows drive
> hdd2
> hdd3 extended
> hdd5 swap
>
> Ok. How do I gain access to my /home?
>
> wade
One way would be to:
1) sudo su
2) mkdir /mnt/oldhome
3) mount /devhdd2 /mnt/oldhome
Now you can find all your files in /mnt/oldhome. However; that does not
ensure that you automatically have access to your files every time you
reboot. For that to happen you must edit /etc/fstab (via e.g. sudo gedit
/etc/fstab). The format of /etc/fstab must be adhered to so please the
read the man page for mount. Also, to determine the filesystem type for
hdd2 you could (_after_ having completed steps 1,2 & 3 above) do:
cat /etc/mtab | grep oldhome | awk '{print $3}'
In all likelihood it will be "ext3", but please be sure to determine the
type and enter that value in the appropriate place in /etc/fstab.
HTH,
Johan
More information about the ubuntu-users
mailing list