Hi Christoph,

To my surprize, I can start 'Fail Safe'

Hereinbelow is  /etc/fstab
....
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT        /boot        ext2        noauto,noatime        1 1
/dev/ROOT        /        xfs        noatime            0 0
/dev/SWAP        none        swap        sw            0 0
/dev/cdroms/cdrom0    /mnt/cdrom    iso9660        noauto,ro        0 0
#/dev/fd0        /mnt/floppy    auto        noauto            0 0

# NOTE: The next line is critical for boot!
none            /proc        proc        defaults        0 0
....
.....
none            /dev/shm    tmpfs        defaults        0 0


Compared it with chapter 15 and found following difference /dev/ROOT / xfs noatime 0 0 (new)

/dev/ROOT         /     reiserfs    noatime         0 1  (Chapter15 'reiserfs)
(shall I change 'xfs' back to 'reiserfs'

none /dev/shm tmpfs defaults 0 0

(I think the above line was added during 'emerge -u world'
and
/mnt/cdwriter disappears)

I can login as ROOT without password but can't login as USER (satimis) with/without password.

# cat /etc/passwd
root:x:0,0:root:root:/bin/bash
...
...
Operator:x:11:0:operator:/root:/bin/bash

(USER/satimis not found there)

Kindly advise how to revive Gentoo. What shall I do next.

TIA

B.R.
Stephen



Stephen Liu wrote:

I am not quite familiar with rescue on Gentoo. I shall do follows;

1) boot up the Gentoo box with the rescue diskette
2) mount /dev/hda3  /mnt/gentoo
3) mount /dev/hda1  /mnt/gentoo/boot
4) mount t proc proc /mnt/gentoo/proc


there's a typo:
mount -t proc proc /mnt/gentoo/proc
      ^

5) chroot /mnt/gentoo  /bin/bash
6) nano -w /mnt/gentoo/etc/fstab (to edit  'fstab')


change ROOT, BOOT and SWAP with the appropriate devices (/dev/hda3, /dev/hda1 and /dev/hda2 I assume)

One thing I could not resolve why I can login as ROOT without password. If key in ROOT password then it says wrong password


This could mean that you've also overwritten your /etc/passwd. Is your normal user still in the /etc/passwd? If not, just add it with # useradd and reset your root-password with # passwd

I can't imagine how this can happen without the use of etc-update...

bye, christoph



-- [EMAIL PROTECTED] mailing list



Reply via email to