Problems swithcing _from_ initrd kernel
From: stan (stanb_at_panix.com)
Date: 07/30/04
- Previous message: cam: "sarge: kernel & gcc version confusion"
- Next in thread: Greg Madden: "Re: Problems swithcing _from_ initrd kernel"
- Reply: Greg Madden: "Re: Problems swithcing _from_ initrd kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 09:54:14 -0400 To: Debian User List <debian-user@lists.debian.org>
Last night I tried to take a "unstable" system from the 2.4 series of
kernels to 2.6. Here's what I did.
I downloaded teh apropriate 2.6 kernel mage pacakge & installed it. During
this, I was prompted to change lilo,conf to use initrd. I did this, and the
machine rebooted OK, except for a few issues, tat told me I needed to build
a custom kernel (network driver did not automaicly laod, but could be
loaded with modprobe). So, I downloaded the 2.6 kernel source package, ran
make menuconfig, and built a non initrd kerenl with kernel-package. Then I
used dpkg to install this.
When I rebooted the machine it was unable to mount the filesystems, I'm
using esierfs, and I had put that in the kernel build (not as a module).
The machine would not boot from kernel.OLD either.
I was able to boot it of a rescue disk, and remake all the right links etc
to go back to the kernel from the .deb. The I remade the custom kernel,
this time makeing it as a initrd image. This works.
But, I would prefer to not use initrd. Any idea why this failed?
-- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
- Previous message: cam: "sarge: kernel & gcc version confusion"
- Next in thread: Greg Madden: "Re: Problems swithcing _from_ initrd kernel"
- Reply: Greg Madden: "Re: Problems swithcing _from_ initrd kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: booting from ISO image on HD?
... >> through customized initrd files for each one. ... > between the
loopback device and the underlying file (the iso image). ... I have to insmod the
loop kernel module(e.g. ... how can you boot it from an initrd??? ... (comp.os.linux.misc) - Re: fsck fails during boot with 2.6.9-34.0.1.EL kernel because root filesystem is already rw mou
... I think there was a little fault in building the new initrd. ... The mount-command
of the init-script is wrong and makes confusing, e.g.: first the root-filesystem must mount read/write,
it accepts. ... It looks like in the early stage of the booting, when the kernel is using
the initrd to load the ... I still do not understand why in my new initrd file, with the new kernel,
the root filesystem is ... (RedHat) - Re: booting from ISO image on HD?
... I'm not going to write the pivot root script, ... > through customized
initrd files for each one. ... I have to insmod the loop kernel module(e.g. ...
The idea is that either you build what you need to boot into your ... (comp.os.linux.misc) - Re: 2.6.8 stock kernel bug
... >> If you make the new initrd the same file name as the old one, grub should
... The shipped initrd ... Look in the kernel devices file. ... Kernel
executes the commands from /linuxrc on the initrd file system. ... (comp.os.linux.hardware) - Re: BOOT_CS
... > Keep initrd few Mb after kernel because I do not know where exactly ...
Linux (+ initrd) from a DOS floppy or from operating system dated 98 ... at the place you
want to load Linux. ... XMS allocated memory so the physical address is ...
(Linux-Kernel)