Re: [arch-general] installation using existing filesystem
On 2014-03-16 21:58, arch-general-request@archlinux.org wrote:
------------------------------
Message: 6 Date: Sun, 16 Mar 2014 22:58:03 +0100 From: Karol Blazewicz <karol.blazewicz@gmail.com> Subject: Re: [arch-general] installation using existing filesystem
Have you read https://wiki.archlinux.org/index.php/Beginners%27_guide#Mount_the_partitions ?
No, thanks (am reading the installation guide first! :) ). Now revealed the local disk structure: sda1 vfat, sda2 vfat, sda3 [blank], sda4 swap, sda5 ext4, sda6 ext4 No mountpoints are shown. What tool is available to determine if sda5 is the /home directory of the previous (mandriva) installation? I want to perform a base installation, leaving the /home directory un-touched. -- digest-mode subscriber; please cc to maintain message thread
2014-03-16 23:30 GMT+01:00 message <letter@openmailbox.org>:
On 2014-03-16 21:58, arch-general-request@archlinux.org wrote:
------------------------------
Message: 6 Date: Sun, 16 Mar 2014 22:58:03 +0100 From: Karol Blazewicz <karol.blazewicz@gmail.com> Subject: Re: [arch-general] installation using existing filesystem
Have you read https://wiki.archlinux.org/index.php/Beginners%27_guide# Mount_the_partitions ?
No, thanks (am reading the installation guide first! :) ). Now revealed the local disk structure:
sda1 vfat, sda2 vfat, sda3 [blank], sda4 swap, sda5 ext4, sda6 ext4
No mountpoints are shown. What tool is available to determine if sda5 is the /home directory of the previous (mandriva) installation? I want to perform a base installation, leaving the /home directory un-touched.
You can mount them and look at the contents
-- digest-mode subscriber; please cc to maintain message thread
On Sun, Mar 16, 2014 at 11:30 PM, message <letter@openmailbox.org> wrote:
On 2014-03-16 21:58, arch-general-request@archlinux.org wrote:
------------------------------
Message: 6 Date: Sun, 16 Mar 2014 22:58:03 +0100 From: Karol Blazewicz <karol.blazewicz@gmail.com> Subject: Re: [arch-general] installation using existing filesystem
Have you read
https://wiki.archlinux.org/index.php/Beginners%27_guide#Mount_the_partitions ?
No, thanks (am reading the installation guide first! :) ). Now revealed the local disk structure:
sda1 vfat, sda2 vfat, sda3 [blank], sda4 swap, sda5 ext4, sda6 ext4
No mountpoints are shown. What tool is available to determine if sda5 is the /home directory of the previous (mandriva) installation? I want to perform a base installation, leaving the /home directory un-touched.
Use lsblk https://wiki.archlinux.org/index.php/Beginners%27_guide#Mount_the_partitions
-- digest-mode subscriber; please cc to maintain message thread
According to message: # No mountpoints are shown. What tool is available to determine if sda5 is # the /home directory of the previous (mandriva) installation? I want to # perform a base installation, leaving the /home directory un-touched. If you are using the live iso, nothing is mounted by default. Your best bet in that case is to mount sda5 and sda6 in turn and list the contents of each filesystem. Most likely, sda6 is your previous /home, so you can try mounting sda5 first. If you get what looks to be the top level / directory of a Linux filesystem, you can unmount it, overwrite the filesystem, remount it in /mnt to keep things as simple as possible, make a home directory inside of the mount point and then mount sda6 in /mnt/home, assuming you initially mounted sda5 in /mnt. Hope this helps. ~Kyle http://kyle.tk/ -- "Kyle? ... She calls her cake, Kyle?" Out of This World, season 2 episode 21 - "The Amazing Evie"
On Sun, Mar 16, 2014 at 11:38 PM, Kyle <kyle@gmx.ca> wrote:
According to message: # No mountpoints are shown. What tool is available to determine if sda5 is # the /home directory of the previous (mandriva) installation? I want to # perform a base installation, leaving the /home directory un-touched.
If you are using the live iso, nothing is mounted by default. Your best bet in that case is to mount sda5 and sda6 in turn and list the contents of each filesystem. Most likely, sda6 is your previous /home, so you can try mounting sda5 first. If you get what looks to be the top level / directory of a Linux filesystem, you can unmount it, overwrite the filesystem, remount it in /mnt to keep things as simple as possible, make a home directory inside of the mount point and then mount sda6 in /mnt/home, assuming you initially mounted sda5 in /mnt. Hope this helps. ~Kyle http://kyle.tk/ -- "Kyle? ... She calls her cake, Kyle?" Out of This World, season 2 episode 21 - "The Amazing Evie"
lsblk lists even drives / partitions that are not mounted. If the partitions vary in size, you can tell which one is which just by that. $ mount | grep sdb $ lsblk | grep sdb sdb 8:16 0 74.5G 0 disk └─sdb1 8:17 0 74.5G 0 part
Why is it necessary to make a new /home directory within the root system, when a separate /home partition already exists? -- digest-mode subscriber; please cc to maintain message thread
YOu need to make a /home directory to be used as the mount point for the /home partition you already have. You won't be able to mount a filesystem on a directory that doesn't exist. You need an empty /home, and you will be able to mount the partition there. The genfstab script will see it mounted and do all the fstab entry stuff for you at that point. ~Kyle http://kyle.tk/ -- "Kyle? ... She calls her cake, Kyle?" Out of This World, season 2 episode 21 - "The Amazing Evie"
participants (4)
-
Karol Blazewicz
-
Kyle
-
message
-
Simon Hanna