PDA

View Full Version : password error after hd install



adrian5800
03-23-2004, 04:30 AM
Hi everyone

I have been tinkering with linux for a couple of months - basically knoppix and now morphix.. Initially i had problems installing morphix on a sata set up - hangs at cd boot unless i set sata to compatible in the bios. Thinking a recompile with a later kernel version may sort that issue out and i successfully got knoppix running with a 2.6.3 kernel upgrade so i do have a little exp with make xconfig.. (yeah i know morphix doesnt come with make or a c compiler and lots of other stuff - i have d/l'd those essentials onto a fat shared partition)
I do have questions regarding that but they'll wait for another post

Now after having morphix installed successfully and a couple of reinstalls later due to finding my way around the o/s - hehe... i now am having dramas with passwords.. Install seems to go fine on multiple partitions (i.e. /boot /root /home /usr and /var) then when i reboot - at the gnome log in screen i enter the user name and password that install asked me for and bam - it gives login error - incorrect password! (same for root as well) Any ideas?
Yeah i have checked caps lock and i have reinstalled and tried again several times with different (read-simpler) passwords..

i have googled myself stupid without finding a solution..

thanks in advance people :D


found a post at morphix.org regarding this.. though i cant log in to that forum...

reinstalled morphix as per instructions using /morphix/gtkinstaller/morphixinstaller -d

which gives the following:

sh-2.05b$ su
Password:
bash-2.05b# /morphix/gtkinstaller/morphixinstaller -d
Exec: uname -r

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5266 (gtk_widget_set_size_request): assertion `height >= -1' failed
hdd found: hda with 78167 MB, Maxtor 6Y080M0
comp_list: hda
hdd found: hdb with 76319 MB, ST380013AS
comp_list: hdb
selected hda with 78167 MB, Maxtor 6Y080M0
Exec: xterm -fn 10x20 -e cfdisk /dev/hda
Warning: Tried to connect to session manager, Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5266 (gtk_widget_set_size_request): assertion `height >= -1' failed
Partition /dev/hda1 size: 20482843+
Partition /dev/hda2 size: 50781465
Partition /dev/hda3 size: 96390
Partition /dev/hda4 size: 8675100
Partition /dev/hda5 size: 979933+
Partition /dev/hda6 size: 192748+
Partition /dev/hda7 size: 1951866
Partition /dev/hda8 size: 5060443+
Partition /dev/hda9 size: 489951
swap found: /dev/hda9
selected /dev/hda9 - size: 478 MB

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5266 (gtk_widget_set_size_request): assertion `height >= -1' failed

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5265 (gtk_widget_set_size_request): assertion `width >= -1' failed
Exec: mkswap /dev/hda9
Exec: mkfs.ext3 /dev/hda5
mke2fs 1.35-WIP (21-Aug-2003)
Exec: mkfs.ext3 /dev/hda8
mke2fs 1.35-WIP (21-Aug-2003)
Exec: mkfs.ext3 /dev/hda3
mke2fs 1.35-WIP (21-Aug-2003)
Exec: mkfs.ext3 /dev/hda7
mke2fs 1.35-WIP (21-Aug-2003)
Exec: mkfs.ext3 /dev/hda6
mke2fs 1.35-WIP (21-Aug-2003)
Root partition generated
total size cdrom: 479 MB
Exec: mkdir -p /mnt/target
Exec: mount -t ext3 /dev/hda5 /mnt/target
Exec: mount /dev/hda8 /mnt/target/home
Exec: mount /dev/hda3 /mnt/target/boot
Exec: mount /dev/hda7 /mnt/target/usr
Exec: mount /dev/hda6 /mnt/target/var
Exec: cp -a /bin /etc /home /lib /morphix /sbin /usr /var /mnt/target
cp: will not create hard link `/mnt/target/etc/X11/xinit' to directory `/mnt/target/etc/X11/xinit'
cp: will not create hard link `/mnt/target/etc/apt/apt.conf.d' to directory `/mnt/target/etc/apt/apt.conf.d'
cp: cannot stat `/etc/modules.conf': No such file or directory
cp: will not create hard link `/mnt/target/etc/pcmcia/cis' to directory `/mnt/target/etc/pcmcia/cis'
cp: cannot stat `/etc/mtab~681': No such file or directory
cp: cannot stat `/etc/mtab~679': No such file or directory
cp: cannot stat `/etc/mtab~677': No such file or directory
cp: cannot stat `/etc/mtab~675': No such file or directory
cp: cannot stat `/etc/mtab~673': No such file or directory
cp: will not create hard link `/mnt/target/etc/cups' to directory `/mnt/target/etc/cups'
cp: cannot stat `/etc/mtab~': No such file or directory
cp: cannot stat `/etc/mtab~504': No such file or directory
cp: cannot stat `/etc/gshadow.lock': No such file or directory
cp: cannot stat `/etc/gshadow.434': No such file or directory
cp: cannot stat `/etc/group.lock': No such file or directory
cp: cannot stat `/etc/group.434': No such file or directory
cp: cannot stat `/etc/shadow.434': No such file or directory
cp: cannot stat `/etc/passwd.434': No such file or directory
cp: cannot stat `/etc/shadow.lock': No such file or directory
cp: cannot stat `/etc/shadow.433': No such file or directory
cp: cannot stat `/etc/passwd.lock': No such file or directory
cp: cannot stat `/etc/passwd.433': No such file or directory
cp: cannot stat `/etc/modules.conf': No such file or directory
cp: will not create hard link `/mnt/target/etc/pcmcia' to directory `/mnt/target/etc/pcmcia'
cp: will not create hard link `/mnt/target/etc/ssh' to directory `/mnt/target/etc/ssh'
cp: will not create hard link `/mnt/target/etc/apt' to directory `/mnt/target/etc/apt'
cp: will not create hard link `/mnt/target/etc/network' to directory `/mnt/target/etc/network'
cp: will not create hard link `/mnt/target/etc/X11' to directory `/mnt/target/etc/X11'
total size: 0.040262 with cdrom_size: 479 and rootpartsize: 54
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
cp: will not create hard link `/mnt/target/usr/X11R6/lib/modules/extensions' to directory `/mnt/target/usr/X11R6/lib/modules/extensions'
cp: will not create hard link `/mnt/target/usr/X11R6/lib/modules/drivers' to directory `/mnt/target/usr/X11R6/lib/modules/drivers'
cp: will not create hard link `/mnt/target/usr/X11R6/lib/modules' to directory `/mnt/target/usr/X11R6/lib/modules'
cp: will not create hard link `/mnt/target/usr/X11R6/lib' to directory `/mnt/target/usr/X11R6/lib'
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
cp: will not create hard link `/mnt/target/usr/lib/mime/packages' to directory `/mnt/target/usr/lib/mime/packages'
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
cp: will not create hard link `/mnt/target/usr/lib/mime' to directory `/mnt/target/usr/lib/mime'
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
cp: will not create hard link `/mnt/target/usr/share/man/man5' to directory `/mnt/target/usr/share/man/man5'
cp: will not create hard link `/mnt/target/usr/share/man/man1' to directory `/mnt/target/usr/share/man/man1'
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
cp: will not create hard link `/mnt/target/usr/share/pixmaps' to directory `/mnt/target/usr/share/pixmaps'
cp: will not create hard link `/mnt/target/usr/share/mime-info' to directory `/mnt/target/usr/share/mime-info'
cp: will not create hard link `/mnt/target/usr/share/man' to directory `/mnt/target/usr/share/man'
cp: will not create hard link `/mnt/target/usr/share/doc-base' to directory `/mnt/target/usr/share/doc-base'
cp: will not create hard link `/mnt/target/usr/share/doc' to directory `/mnt/target/usr/share/doc'
cp: will not create hard link `/mnt/target/usr/share/applnk' to directory `/mnt/target/usr/share/applnk'
cp: will not create hard link `/mnt/target/usr/share' to directory `/mnt/target/usr/share'
cp: will not create hard link `/mnt/target/usr/X11R6' to directory `/mnt/target/usr/X11R6'
cp: will not create hard link `/mnt/target/usr/lib' to directory `/mnt/target/usr/lib'
cp: will not create hard link `/mnt/target/usr/bin' to directory `/mnt/target/usr/bin'
cp: will not create hard link `/mnt/target/usr/sbin' to directory `/mnt/target/usr/sbin'
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
total size: 0.075306 with cdrom_size: 479 and rootpartsize: 101
cp: will not create hard link `/mnt/target/var/lib/wine/drivec/windows' to directory `/mnt/target/var/lib/wine/drivec/windows'
cp: will not create hard link `/mnt/target/var/lib/wine/drivec' to directory `/mnt/target/var/lib/wine/drivec'
cp: will not create hard link `/mnt/target/var/lib/wine' to directory `/mnt/target/var/lib/wine'
cp: will not create hard link `/mnt/target/var/lib/misc' to directory `/mnt/target/var/lib/misc'
cp: will not create hard link `/mnt/target/var/lib/dpkg' to directory `/mnt/target/var/lib/dpkg'
cp: will not create hard link `/mnt/target/var/log/cups' to directory `/mnt/target/var/log/cups'
cp: will not create hard link `/mnt/target/var/log/ksymoops' to directory `/mnt/target/var/log/ksymoops'
cp: will not create hard link `/mnt/target/var/spool/cups/certs' to directory `/mnt/target/var/spool/cups/certs'
cp: will not create hard link `/mnt/target/var/spool/cups' to directory `/mnt/target/var/spool/cups'
cp: will not create hard link `/mnt/target/var/tmp/trans/morphix' to directory `/mnt/target/morphix'
cp: will not create hard link `/mnt/target/var/tmp/trans/var' to directory `/mnt/target/var'
cp: will not create hard link `/mnt/target/var/tmp/trans/etc' to directory `/mnt/target/etc'
cp: will not create hard link `/mnt/target/var/tmp/trans/usr' to directory `/mnt/target/usr'
cp: will not create hard link `/mnt/target/var/tmp/trans/sbin' to directory `/mnt/target/sbin'
cp: will not create hard link `/mnt/target/var/tmp/trans/lib' to directory `/mnt/target/lib'
cp: will not create hard link `/mnt/target/var/tmp/trans/bin' to directory `/mnt/target/bin'
cp: will not create hard link `/mnt/target/var/spool' to directory `/mnt/target/var/spool'
cp: will not create hard link `/mnt/target/var/log' to directory `/mnt/target/var/log'
cp: will not create hard link `/mnt/target/var/run' to directory `/mnt/target/var/run'
cp: will not create hard link `/mnt/target/var/lib' to directory `/mnt/target/var/lib'
Exec: cp -a /MorphixCD/dev /mnt/target/
Exec: cp -a /MorphixCD/boot /mnt/target/
total size: 0.076051 with cdrom_size: 479 and rootpartsize: 102
Exec: rm /mnt/target/etc/hosts
Exec: ln -s /dev/scd0 /mnt/target/dev/cdrom
Exec: mkdir /mnt/target/cdrom
Exec: mkdir /mnt/target/cdrom1
Exec: mkdir /mnt/target/floppy
Exec: mkdir /mnt/target/mnt
Exec: cp -a /mnt/mini /mnt/target/mnt
Exec: mkdir /mnt/target/proc
Exec: mkdir /mnt/target/root
input
parport_pc
lp
parport
pcmcia_core
nvidia
af_packet
nls_cp437
efs
hfs
minix
nls_iso8859-1
snd-intel8x0
snd-pcm
snd-timer
snd-ac97-codec
snd-page-alloc
snd-mpu401-uart
snd-rawmidi
snd-seq-device
snd
soundcore
tulip
usb-uhci
usbcore
apm
rtc
unix
/dev/hda5 / ext3 defaults 0 1
/dev/hda9 none swap sw 0 0
/dev/hda8 /home ext3 defaults 0 1
/dev/hda3 /boot ext3 defaults 0 1
/dev/hda7 /usr ext3 defaults 0 1
/dev/hda6 /var ext3 defaults 0 1
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
Exec: mkdir /mnt/target//mnt/hda1
Exec: mkdir /mnt/target//mnt/hda2
Exec: mkdir /mnt/target//mnt/hda3
Exec: mkdir /mnt/target//mnt/hda5
Exec: mkdir /mnt/target//mnt/hda6
Exec: mkdir /mnt/target//mnt/hda7
Exec: mkdir /mnt/target//mnt/hda8
Exec: mkdir /mnt/target//mnt/hdb2
Exec: mkdir /mnt/target//mnt/hdb3
Exec: mkdir /mnt/target//mnt/hdb5
Exec: cp -af /morphix/init.sh /mnt/target/etc/init.d/xsession
Exec: ln -s /etc/init.d/xsession /mnt/target/etc/rc2.d/S99xsession
Exec: chmod a+rx /mnt/target/etc/init.d/xsession
Exec: umount /mnt/target/usr
Exec: umount /mnt/target/var

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5266 (gtk_widget_set_size_request): assertion `height >= -1' failed
total size: 0.102893 with cdrom_size: 479 and rootpartsize: 138

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5266 (gtk_widget_set_size_request): assertion `height >= -1' failed
Exec: chroot /mnt/target sh -c "echo \"root:@$%$#$%#@@#%**$\" | chpasswd"
sh: line 1: chpasswd: command not found

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5266 (gtk_widget_set_size_request): assertion `height >= -1' failed
Exec: chroot /mnt/target sh -c 'mv /home/morph /home/ade'
Exec: chroot /mnt/target sh -c 'deluser morph'
sh: line 1: deluser: command not found
Exec: chroot /mnt/target sh -c 'groupadd ade'
sh: line 1: groupadd: command not found
Exec: chroot /mnt/target sh -c 'useradd -s /bin/bash -d /home/ade -c "Morphix User" -g ade -G audio,video,users -p 'or/oJwsfg2XNo' ade'
sh: line 1: useradd: command not found
Exec: chroot /mnt/target sh -c 'echo ade ALL:=NOPASSWD:ALL
>> /etc/sudoers'
Exec: chroot /mnt/target sh -c 'chown -R ade.ade /home/ade'
chown: `ade.ade': invalid user
Exec: mount -t vfat -o loop,ro /cdrom/base/boot.img /mnt/l1
Command executed: sh -c "gzip -cd /mnt/l1/miniroot.gz > /mnt/target/miniroot"
Exec: sh -c "gzip -cd /mnt/l1/miniroot.gz > /mnt/target/miniroot"
Exec: umount /mnt/l1
Exec: mount -t ext2 -o loop,ro /mnt/target/miniroot /mnt/l1
Exec: mount -t ext2 -o loop,ro /mnt/target/miniroot /mnt/l1
Exec: umount /mnt/l1

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5266 (gtk_widget_set_size_request): assertion `height >= -1' failed

(morphixinstaller:656): Gtk-CRITICAL **: file gtkwidget.c: line 5266 (gtk_widget_set_size_request): assertion `height >= -1' failed
Exec: /morphix/gtkinstaller/genliloconf-orig /dev/hda /dev/hda5 "hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi noapic acpi=off apm=power-off" /boot/vmlinuz-2.4.21-xfs

part: /dev/hda1, typ: 7
part: /dev/hda2, typ: 7
part: /dev/hdb2, typ: 11
part: /dev/hdb3, typ: 7
part: /dev/hdb5, typ: 188
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# --------------- `install-mbr(8)', `/usr/share/doc/lilo/',
# and `/usr/share/doc/mbr/'.

# +---------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run `lilo' after you make changes to this |
# | conffile, `/boot/bootmess.txt', or install a new kernel. The |
# | computer will most likely fail to boot if a kernel-image |
# | post-install script or you don't remember to run `lilo'. |
# | |
# +---------------------------------------------------------------+

# Support LBA for large hard disks.
#
lba32

# Overrides the default mapping between harddisk names and the BIOS'
# harddisk order. Use with caution.
#disk=/dev/hde
# bios=0x81

#disk=/dev/sda
# bios=0x80

# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda5

# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller. Using `compact' is especially recommended when
# booting from a floppy disk. It is disabled here by default
# because it doesn't always work.
#
# compact

# Installs the specified file as the new boot sector
# You have the choice between: bmp, compat, menu and text
# Look in /boot/ and in lilo.conf(5) manpage for details
#
install=/boot/boot-menu.b

# Specifies the location of the map file
#
map=/boot/map

# You can set a password here, and uncomment the `restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration. If a
# command line is given, other than one specified by an `append'
# statement in `lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like `Linux init=/bin/sh',
# and thus becoming `root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use `install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well. Please RTFM `install-mbr(8)'.
#
# password=tatercounter2000

# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20

# You can put a customized boot message up if you like. If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress. `single-key' goes with the `alias' lines in the
# `image' configurations below. eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
prompt
timeout=150
# prompt
# single-key
# delay=100
# timeout=100

# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""
append="hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi noapic acpi=off apm=power-off"

# Boot up Linux by default.
#
default=Linux

image=/boot/vmlinuz-2.4.21-xfs
label=Linux

read-only
# restricted
# alias=1

image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2

# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3
other=/dev/hda1
label="WinNT(hda1)"

other=/dev/hda2
label="WinNT(hda2)"

other=/dev/hdb2
label="Windows(hdb2)"

other=/dev/hdb3
label="WinNT(hdb3)"

other=/dev/hdb5
label="Other(hdb5)"


Exec: cp /morphix/gtkinstaller/boot-menu.b /mnt/target/boot/boot-menu.b
Exec: lilo -r /mnt/target
Warning: '/proc/partitions' does not exist, disk scan bypassed
Exec: mkdir /mnt/target/tmp
Exec: chmod 1777 /mnt/target/tmp
Executing postinstall script
Exec: chroot /mnt/target sh /morphix/gtkinstaller/postinst.sh
Unmounting /mnt/target
Exec: umount /mnt/target
umount: /mnt/target: device is busy





and yes the reinstall gave the password problem again

any ideas??