[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#473075: IBM thinkpad OK, K-7 can't boot



Sorry, all I know is that everything works fine on my machine
jidanni2, but not jidanni1, which is a K-7. The problem started in sid
this week. I won't be back on jidanni1 to test until a few days.
The problem is on jidanni1 the root filesystem gets mounted, but the
rest of the filesystems just cause some "not ext2" messages or
something.

(P.S., why if one can see the messages with Shift PgUp, why can't we also
$ cat /.../.../somefile > /root/errmessages #since /var/log is not mounted
so we can save them and send them to you instead of using a pencil?

I mean those messages are in somewhere in Linux's brain, not just only
in the memory bank of the monitor sitting on one's desk, no?)

Anyways, using one version older busybox didn't fix it.
Here's what I use to make lilo.conf and fstab:
$ more fstab.conf lilo.conf.conf|cat
::::::::::::::
fstab.conf
::::::::::::::
#!/bin/sh -eu
# fstab.conf for my GNU/Linux
# Author          : Dan Jacobson -- http://jidanni.org/
# Created On      : 2000
# Last Modified On: Fri Mar 21 03:58:50 2008
# Update Count    : 82
d=/dev/disk/by-id/ata T=/tmp/fstab
VO=shortname=mixed,noauto,noatime,user,fmask=133,uid=jidanni,gid=jidanni\ 0\ 0
cp /etc/fstab $T.bak.`date +%s`
exec > $T
echo \#**WILL GET OVERWRITTEN**.
echo \#Made by $0, `LC_ALL=C date`
case `hostname` in
    jidanni1) D=$d-QUANTUM_FIREBALLlct15_30_614019446573; cat<<EOF
$D-part9 / ext3 defaults,errors=remount-ro 0 1
$D-part1 /mnt/extra1 ext3 defaults,user,noauto 0 0
$D-part7 /home ext3 defaults 0 2
$D-part8 /usr ext3 defaults 0 2
$D-part6 /usr/share/doc ext3 defaults 0 2
$D-part10 /mnt/extra10 ext3 defaults,user,noauto 0 0
$D-part11 /var ext3 defaults 0 2
$D-part12 /mnt/extra12 ext3 defaults,user,noauto 0 0
$D-part13 /var/cache/wwwoffle ext3 defaults 0 2
EOF
	;; jidanni2) D=$d-FUJITSU_MHT2040AT_NN4GT531H3AR; cat<<EOF
$D-part1 / ext3 defaults,commit=333,errors=remount-ro 0 1
$D-part6 /home ext3 defaults,commit=333 0 2
$D-part7 /var ext3 defaults,commit=333 0 2
$D-part8 /usr ext3 defaults,commit=333 0 2
$D-part9 /var/cache/wwwoffle ext3 defaults,commit=333 0 2
$D-part10 /mnt/knoppix ext2 defaults,user,noauto,ro 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0
/dev/cdrom /cdrom950 iso9660 defaults,ro,user,noauto,iocharset=cp950 0 0
LABEL=IBM_SERVICE /mnt/extra vfat ro,$VO
EOF
	;; *) echo 1>&2 must add hostname to $0; exit 44;;
esac
cat <<EOF
$D-part5 none swap sw 0 0
proc /proc proc defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
UUID=2004-1223 /mnt/usb/cf vfat $VO
UUID=6C24-68E8 /mnt/usb/s1mp3 vfat $VO
/dev/sr0 /mnt/usb/cdrom iso9660 defaults,user,noauto 0 0
EOF
#/dev/sda5 /mnt/backup ext2 defaults,noauto 0 0
mv $T /etc/fstab
# Local Variables:
# compile-command: (concat buffer-file-name " && mount -a && mount")
# End:
::::::::::::::
lilo.conf.conf
::::::::::::::
#!/bin/sh
# lilo.conf.conf -- example for Debian stock kernel routine lilo run
# Copyright       : http://www.fsf.org/copyleft/gpl.html
# Author          : Dan Jacobson -- http://jidanni.org/
# Created On      : June 2007
# Last Modified On: Sun Mar  9 03:45:40 2008
# Update Count    : 70

#On Debian after each installation of a fresh stock kernel, I run this
#script that produces an fresh lilo.conf and runs lilo. Replace the
#hostnames with your own.
case $1 in -1) #remove oldest kernel
#	k=$(dpkg-query -W -f='${Package}\n' 'linux-image-???????*')
	set -eu
	cd /boot
	set -- vmlinuz-*
	echo Remove first of:; ls -1 $@
	apt-get --purge remove ${1/vmlinuz/linux-image}
#	exit
esac

set -eu
l=lilo.conf hostname=`hostname`
{
    cat<<EOF
# Made by $0, will get overwritten
menu-title=$hostname prompt read-only compact lba32
EOF
    case $hostname in
	jidanni1)echo boot=/dev/hdb \
	    root=\"UUID=0eacb674-cb86-4b49-9941-4debb3cd9a61\";;#hdb9
	jidanni2)echo boot=/dev/hda \
	    root=\"UUID=159bd480-683f-4b68-9185-63f1a20c048a\";;#hda1
	*)echo 1>&2 must add hostname to $0; exit 44;;
    esac
    for i in `ls -r /boot/vmlinuz-*`
    do echo -e image=$i label=${i#*-}\\n initrd=${i/vmlinuz/initrd.img}
    done
    case $hostname in
	jidanni2)echo other=/dev/disk/by-label/IBM_SERVICE;;
    esac
} > /tmp/$l
cp -a /etc/$l /tmp/$l.`date +%s`; mv /tmp/$l /etc/$l; lilo



Reply to: