You are not logged in.

#1 2005-10-09 20:44:46

Cheikh
Member
Registered: 2005-02-07
Posts: 25

Cant Boot

I cant boot anymore lilo starts it displays some bios info and then at the bottom of my screen there is these two lines.

Warning unable to open an initial console
kernel panic not syncing no init found try passing int = option to kernel

this happen because I though i was brave enought to tackle the Udev setup that is in the Wiki

i have touched my /etc/lilo.conf file and /etc/fstab file here are their content right now

*********************************/etc/fstab**********************************
#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
usbfs                  /proc/bus/usb usbfs     defaults            0      0     
tmpfs                  /tmp          tmpfs     defaults               0      0

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide     0      0
/dev/fd/0              /mnt/fl   vfat      user,noauto                                0      0
/dev/sda1              /mnt/usbstick vfat  user,noauto                           0      0

/dev/hda3 / ext3     defaults 0 1
/dev/hda1 /boot ext2 defaults 0 1
/dev/hda2 swap swap  defaults 0 0

#/dev/discs/disc0/part3 / ext3 defaults 0 1
#/dev/discs/disc0/part1 /boot ext2 defaults 0 1
#/dev/discs/disc0/part2 swap swap defaults 0 0

***********************************************/etc/lilo.conf*************************************************
#
# /etc/lilo.conf
#
boot=/dev/hda 
# This line often fixes L40 errors on bootup
# disk=/dev/discs/disc0/disc bios=0x80

default=arch
timeout=50
lba32
prompt

image=/boot/vmlinuz26
        label=arch
        root=/dev/hda1
        read-only
        append="devfs=nomount"

#other=/dev/discs/disc0/part1
#        label=dos

# End of file
***********************************************************************************************************
int the Wiki it says to do:
cd /dev
mknod -m 660 console c 5 1
mknod -m 660 null c 1 3
it did that and it says that files already exist in both cases

Also when i chroot to my system using knoppix 4.0.2 trying to run lilo
chroot /mnt/hda3 lilo -v
I get this error Fatal raid_setup: stat("/dev/hda")

when googling I found that a possible fix would be to:
mount /dev/hdax /mnt/hdax
mount -t proc none /mnt/hdax/proc
mount -t none /dev /mnt/hdax/dev -o bind
chroot /mnt/hdax lilo -v

I get this error message
chroot /mnt/hda3
[root@Knoppix /]# lilo -v
LILO version 22.7.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2005 John Coffman
Released 17-Sep-2005 and compiled at 14:59:07 on Sep 21 2005.

Reading boot sector from /dev/hda
Warning: '/proc/partitions' does not match '/dev' directory structure.
    Name change: '/dev/cloop0' -> '/dev/cloop'
Using MENU secondary loader
Calling map_insert_data

Boot image: /boot/vmlinuz26
Fatal: open /boot/vmlinuz26: No such file or directory
[root@Knoppix /]#

in another instance I found the following guide
rm -f /etc  /boot or rm -rf
ln -s /mnt/hdax/etc  /etc
ln -s /mnt/hdax/boot  /boot
use the command line edit and run lilo
********************************************************************************************************
sometimes I get this error message as well after the following commands
chroot /mnt/hda3
[I have no name!@Knoppix /]# lilo -v
LILO version 22.7.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2005 John Coffman
Released 17-Sep-2005 and compiled at 14:59:07 on Sep 21 2005.

Fatal: Cannot open: /etc/lilo.conf
[I have no name!@Knoppix /]#

Sorry for being too long but i need Real help please.

Offline

#2 2005-10-09 21:35:50

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: Cant Boot

chroot into your system and run migrate_udev. That'll create the missing dev nodes(including console).

Offline

Board footer

Powered by FluxBB