[Techtalk] No INIT found yet can boot from floppy

BUNTER MATTHEW Matthew.Bunter at renaultvi.com
Wed Jul 10 16:36:00 EST 2002


--- Reçu de       VITEUR.BUNTERMA 04 72 96 57 77             10/07/02 16.36       ------------------------------------------------------------------------------------------------------------------------------------

All,

Continuing to have no luck with my init problem. Sorry about the length but I though that I'd give all the info I can so
below are the outputs of df -k, fstab, /etc/lilo.conf and the floppy drive files. Can someone give me any pointers please??

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
LABEL=/home             /home                   ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/spare            /spare                  ext3    defaults        1 2
LABEL=/tmp              /tmp                    ext3    defaults        1 2
LABEL=/usr              /usr                    ext3    defaults        1 2
LABEL=/var              /var                    ext3    defaults        1 2
/dev/hda10              swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0

prompt
timeout=50
default=Windows 2000
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.7-10
        label=Red Hat
        initrd=/boot/initrd-2.4.7-10.img
        read-only
        root=/dev/hda6

other=/dev/hda1
        optional
        label=Windows 2000

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda6               758936     83284    637100  12% /
/dev/hda2                21958      2691     18133  13% /boot
/dev/hda9               395280      9903    364967   3% /home
none                     63320         0     63320   0% /dev/shm
/dev/hda5              1078920     32828    991284   4% /spare
/dev/hda7               758936     17036    703348   3% /tmp
/dev/hda3              1763560   1212664    461312  73% /usr
/dev/hda8               497829     39525    432602   9% /var
/dev/fd0                  1423      1115       308  79% /mnt/floppy
/dev/hda1              6134248   3725044   2409204  61% /windows

$ cd /mnt/floppy;ls -al
total 1126
drwxrwxr-x    2 verbero  verbero      7168 Jan  1  1970 .
drwxr-xr-x    4 root     root         4096 Jul  1 19:36 ..
-rwxrwxr-x    1 verbero  verbero       203 Jul  1 18:44 boot.msg
-rwxrwxr-x    1 verbero  verbero    331567 Jul  1 18:44 initrd.img
-r-xr-xr-x    1 verbero  verbero      6192 Jul  1 18:43 ldlinux.sys
-rwxrwxr-x    1 verbero  verbero       121 Jul  1 18:44 syslinux.cfg
-rwxrwxr-x    1 verbero  verbero    802068 Sep  6  2001 vmlinuz

Just something that also puzzled me. I have the Linux partitions starting under the 1024 cylinder. I have never choosen to
have lba32 support before. When I commented it out of /etc/lilo.conf it only got as far as

lil-

and then hung.

Regards,

Matt


-----------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------

Date: Fri, 5 Jul 2002 12:18:51 -0400
Subject: Re: [Techtalk] No INIT found yet can boot from floppy

Heya --

Quoth Hamster (Fri, Jul 05, 2002 at 02:50:25PM +0200):
> A very wild guess on my part is thinking the solution might lie somewhere in adding an init= line to lilo. But that really
is a wild guess and the answer could just as easily be rotating the laptop to face north.

        That sounds like a good idea to me.  I would suggest

init=/bin/bash

or /usr/local/bin/bash or wherever your bash is.  See if that will boot
it.  If it does, take a look at /etc/fstab and make sure your entries in
there are correct for how you've partitioned your disk, etc.  Compare it
against the fstab on your floppy (mount the floppy as /floppy or
something and take a look there).  If they're different, try making the
appropriate corrections to the non-working version on your hard drive.

        If passing init as above to the kernel doesn't work, try booting
from floppy and looking at the fstab.  (Also, the above assumes you have
bash on your system.  If you don't, that won't work, replace it with
whatever shell you're using.  Bash is the default, so the above is
probably okay unless you've tweaked your system a lot.)

Cheers,
Raven

"rcalder-Ran-Elf-Fem-Cha died in The Dungeons of Doom on level 3.
 Killed by a fox, while helpless."
_______________________________________________
Techtalk mailing list
Techtalk at linuxchix.org
http://mailman.linuxchix.org/mailman/listinfo/techtalk

---- 07/07/02 09.24 ---- Envoyé à
-----------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------
  -> MBUNTER(a)WANADOO.FR

---- 10/07/02 16.36 ---- Envoyé à      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  -> TECHTALK(a)LINUXCHIX.ORG



More information about the Techtalk mailing list