Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
GRUB kernel boot error - RH9

GRUB kernel boot error - RH9

2005-01-26       - By Aldo Foot

 Back
Reply:     1     2     3  


Hello,

I have a box to dual boot Win2k and RedHat9. The PC has two HDDs,
Win2k installed in the master HDD (hda) and LINUX in the slave
disk (hdb1). The system boots with GRUB.

I'm currently running on kernel 2.4.20-6 but wanted to
upgrade to 2.6.10. The kernel compiled and all the appropriate
files were created and set in place.
Please see at the end of message for files listed in /boot.

I thought this grub problem would be fixed in 2.6.10, but is not.
Unfortunately I cannot switch to lilo because the RH install is in the
second disk and I get an error when running /bin/lilo.

Any ideas will be appreciated. Thanks in advanced.

-af

=========================================================================
DETAILS

In the grub.conf file I have entries for the original kernel 2.4.20-6 and
for win2k, and they both boot fine, and an entry for the new kernwl 2.6.10.

My grub.conf looks like this:

#boot=/dev/hdb1
default=1
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title RH26
       root (hd1,0)
       kernel /boot/vmlinuz-2 (See http://nuz-2.ora-code.com).6.10 ro root=LABEL=/ hdc=ide-scsi
       initrd /boot/initrd-2 (See http://trd-2.ora-code.com).6.10.img
title Red Hat Linux (2.4.20-6)
       root (hd1,0)
       kernel /boot/vmlinuz-2 (See http://nuz-2.ora-code.com).4.20-6 ro root=LABEL=/ hdc=ide-scsi
       initrd /boot/initrd-2 (See http://trd-2.ora-code.com).4.20-6.img
title DOS
       rootnoverify (hd0,0)
       chainloader +1
.........................

My problem is when tryng to boot with kernel 2.6.10, The system hangs
with this message:

Kernel panic - not syncing: No init found. Try passing init= option to
kernel

So I booted with a floppy and did this
boot: linux init=/sbin/init root=/dev/hdb1 <enter>

But got the same error. What am I missing?

........
Things I've tried
-o- created fresh initrd.img: done the mkinitrd -f -v
initrd-kernelversion.img kernelversion
-o- create new boot floppy: mkbootdisk --device /dev/fd0 2.6.10
-o- tried /bin/lilo to replace grub, but got error
"Warning: /dev/hdb1 is not on the first disk
 Fatal : sector 20196056 too large for linear mode (try 'lba32'instead)

-o- also tried a trick posted in RHs list
Using the hex number for major and minor device number in grub.conf:
   kernel /boot/vmlinuz-2 (See http://nuz-2.ora-code.com).4.18-3 ro root=3003

=============================================================
MY HARD DISKS PARTITIONS LOOK LIKE THIS:

# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      3824  30716248+   7  HPFS/NTFS
/dev/hda2          3825      9728  47423880    f  Win95 Ext'd (LBA)
/dev/hda5          3825      7139  26627706    7  HPFS/NTFS
/dev/hda6          7140      9728  20796111    7  HPFS/NTFS

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1      2295  18434556   83  Linux
/dev/hdb2          2296      3825  12289725    7  HPFS/NTFS
/dev/hdb3          3826      4865   8353800    7  HPFS/NTFS

================================================================
THE FILES AS LISTE IN THE /boot directory:

# ls -l /boot
total 10580
-rw-r--r--    1 root     root         5824 Jan 24  2003 boot.b
-rw-r--r--    1 root     root      1318156 Jan 26 13:28
bzImage.mykern.26Jan2005
-rw-r--r--    1 root     root          612 Jan 24  2003 chain.b
-rw-r--r--    1 root     root        44309 Feb 27  2003 config-2 (See http://fig-2.ora-code.com).4.20-6
drwxr-xr-x    2 root     root         4096 Jan 26 14:50 grub
-rw-r--r--    1 root     root       150549 Aug  2 15:36 initrd-2 (See http://trd-2.ora-code.com).4.20-6.img
-rw-r--r--    1 root     root        85509 Jan 26 13:31 initrd-2 (See http://trd-2.ora-code.com).6.10.img
-rw-r--r--    1 root     root          473 Aug  2 15:36 kernel.h
-rw-r--r--    1 root     root        23108 Feb 24  2003 message
-rw-r--r--    1 root     root        21282 Feb 24  2003 message.ja
lrwxrwxrwx    1 root     root           20 Aug  2 15:36 module-info ->
module-info-2 (See http://nfo-2.ora-code.com).4.20-6
-rw-r--r--    1 root     root        15436 Feb 27  2003 module-info-2 (See http://nfo-2.ora-code.com).4.20-6
-rw-r--r--    1 root     root          640 Jan 24  2003 os2_d.b
lrwxrwxrwx    1 root     root           19 Jan 26 14:44 System.map ->
System.map-2 (See http://map-2.ora-code.com).4.20-6
-rw-r--r--    1 root     root       520099 Feb 27  2003 System.map-2 (See http://map-2.ora-code.com).4.20-6
-rw-r--r--    1 root     root       809057 Jan 26 13:31 System.map-2 (See http://map-2.ora-code.com).6.10
-rw-r--r--    1 root     root       809057 Jan 26 13:30
System.map-2 (See http://map-2.ora-code.com).6.10.old
-rw-r--r--    1 root     root      3193468 Feb 27  2003 vmlinux-2 (See http://nux-2.ora-code.com).4.20-6
lrwxrwxrwx    1 root     root           16 Jan 26 14:44 vmlinuz ->
vmlinuz-2 (See http://nuz-2.ora-code.com).4.20-6
-rw-r--r--    1 root     root      1122363 Feb 27  2003 vmlinuz-2 (See http://nuz-2.ora-code.com).4.20-6
-rw-r--r--    1 root     root      1318156 Jan 26 13:31 vmlinuz-2 (See http://nuz-2.ora-code.com).6.10
-rw-r--r--    1 root     root      1318156 Jan 26 13:30 vmlinuz-2 (See http://nuz-2.ora-code.com).6.10.old

=============================================================================

--
Shrike-list mailing list
Shrike-list@(protected)
https://www.redhat.com/mailman/listinfo/shrike-list