Gentoo Archives: gentoo-user

From: Bruce Hill <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] recovery of fstab
Date: Tue, 11 Dec 2012 23:50:56
Message-Id: 20121211234929.GU8486@server
In Reply to: [gentoo-user] recovery of fstab by James
1 On Tue, Dec 11, 2012 at 10:48:03PM +0000, James wrote:
2 >
3 > I guesses but the / is blank?
4 >
5 > df <snip>
6 > /dev/sda2 61438696 51276944 10161752 84% /mnt/gentoo/boot
7 > /dev/sda3 61438696 51276944 10161752 84% /mnt/gentoo
8 >
9 >
10 > /mnt/gentoo/boot is populated (mounted correctly) but the /dev/sda3
11 > which I'm guessing is / is empty ?
12 >
13 > Been a while since I had to recover a system so referals to good
14 > docs are most welcome....
15 >
16 > No to mention an automount capability with systemrescue?
17
18 Start by issuing "blkid" to determine what partitions are there. If you use -L
19 with mkfs.<whatever> then you should have a label, such as this:
20
21 peter ~ # blkid
22 /dev/sda1: LABEL="root" UUID="73362905-79dc-4512-9518-4c040963f80e" TYPE="xfs"
23 /dev/sda2: LABEL="boot" UUID="2559cf58-63fa-44d3-ac82-94514d4d3769" TYPE="xfs"
24 /dev/sda3: LABEL="home" UUID="8d5d17c1-7f99-4a49-b256-4d075306e42e" TYPE="xfs"
25 /dev/sda5: LABEL="swap" UUID="636e7622-4a10-43d2-b976-d37cc15da7fc" TYPE="swap"
26
27 Then "mkdir /tmp/help" or whatever, and "mount /dev/<partition> /tmp/help/ and
28 when you get the old / located, mount it first later.
29
30 mount /dev/<old /> /mnt/gentoo
31 mount /dev/sda2 /mnt/gentoo/boot
32
33 It looks like sda2 and sda3 are identical, so you got something mounted wrong.
34
35 Bruce
36 --
37 Happy Penguin Computers >')
38 126 Fenco Drive ( \
39 Tupelo, MS 38801 ^^
40 support@×××××××××××××××××××××.com
41 662-269-2706 662-205-6424
42 http://happypenguincomputers.com/
43
44 Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting

Replies

Subject Author
[gentoo-user] Re: recovery of fstab James <wireless@×××××××××××.com>