Re: [gentoo-user] recovery of fstab
> mount them and see whats there? > Also, check the partition table to see which one is swap, and what other partitions exist.
Re: [gentoo-user] recovery of fstab
On Tue, Dec 11, 2012 at 10:48:03PM +, James wrote: > > I guesses but the / is blank? > > df > /dev/sda2 61438696 51276944 10161752 84% /mnt/gentoo/boot > /dev/sda3 61438696 51276944 10161752 84% /mnt/gentoo > > > /mnt/gentoo/boot is populated (mounted correctly) but the /dev/sda3 > which I'm guessing is / is empty ? > > Been a while since I had to recover a system so referals to good > docs are most welcome > > No to mention an automount capability with systemrescue? Start by issuing "blkid" to determine what partitions are there. If you use -L with mkfs. then you should have a label, such as this: peter ~ # blkid /dev/sda1: LABEL="root" UUID="73362905-79dc-4512-9518-4c040963f80e" TYPE="xfs" /dev/sda2: LABEL="boot" UUID="2559cf58-63fa-44d3-ac82-94514d4d3769" TYPE="xfs" /dev/sda3: LABEL="home" UUID="8d5d17c1-7f99-4a49-b256-4d075306e42e" TYPE="xfs" /dev/sda5: LABEL="swap" UUID="636e7622-4a10-43d2-b976-d37cc15da7fc" TYPE="swap" Then "mkdir /tmp/help" or whatever, and "mount /dev/ /tmp/help/ and when you get the old / located, mount it first later. mount /dev/ /mnt/gentoo mount /dev/sda2/mnt/gentoo/boot It looks like sda2 and sda3 are identical, so you got something mounted wrong. Bruce -- Happy Penguin Computers >') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting
Re: [gentoo-user] recovery of fstab
mount them and see whats there? also, what order did you mount them in? it may make a difference On Tue, Dec 11, 2012 at 2:48 PM, James wrote: > Well I have a gentoo system I'm trying to recover. > I've got it booted up via systemrescue. > > I do not have a copy of the fstab, so what is the best > way to discover which partitions are /boot / and so on? > > (brain dead tonight) > > > I guesses but the / is blank? > > df > /dev/sda2 61438696 51276944 10161752 84% /mnt/gentoo/boot > /dev/sda3 61438696 51276944 10161752 84% /mnt/gentoo > > > /mnt/gentoo/boot is populated (mounted correctly) but the /dev/sda3 > which I'm guessing is / is empty ? > > Been a while since I had to recover a system so referals to good > docs are most welcome > > No to mention an automount capability with systemrescue? > > James > > > > > >
[gentoo-user] recovery of fstab
Well I have a gentoo system I'm trying to recover. I've got it booted up via systemrescue. I do not have a copy of the fstab, so what is the best way to discover which partitions are /boot / and so on? (brain dead tonight) I guesses but the / is blank? df /dev/sda2 61438696 51276944 10161752 84% /mnt/gentoo/boot /dev/sda3 61438696 51276944 10161752 84% /mnt/gentoo /mnt/gentoo/boot is populated (mounted correctly) but the /dev/sda3 which I'm guessing is / is empty ? Been a while since I had to recover a system so referals to good docs are most welcome No to mention an automount capability with systemrescue? James