Re: new disk results in boot problem



On Fri, Jun 29, 2007 at 12:01:00PM +0200, nicals wahlgren wrote:
Normally I am using one sata disk, no problem to boot from it. (using
amd64 and sid, kernel 2.6.21.2-amd64)
But when I add another sata or ide disk from old Debian systems the
system ends up in initramfs.
BIOS still says it boots from original disk.

How do I keep the system to boot from original sata disk when adding
more disks?

You may find that it _is_ booting from the origional sata disk but that,
once the kernel is booting, it can't find the root partition because the
kernel has decided that the boot disk is sdb instead of sda.

I think you've run into to the oft-reported device renaming issue. The
consesnus answer seems to be to use volume names on kernel boot lines
and in fstab instead of device names. See the mount man page under -L
label, and the similar section near the top of the fstab man page.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: maximum hard drive size in Latitude cpi
    ... > actually written a boot loader they won't be so adamant about how "Windows ... > of the disk, and while it is being read off of the disk the machine is ... > limitatoins of that BIOS. ... After that the kernel takes over. ...
    (comp.sys.laptops)
  • Re: SCSI controller PCI slot change
    ... But with V5.1* it should be even easier and you don't have to hack the kernel configuration, because the device mapping is dynamic there. ... When you boot the kernel it walks through the hardware and maps all found hardware to appropriate device files. ... Therefore, if you have had a disk in your Tru64 V5.* machine at least once, it keeps that recorded until you delete it and whenever you bring that disk back into the machine and place it somewhere (on any SCSI bus) the OS will bring it up with the original device file mapping. ...
    (comp.unix.tru64)
  • Re: Install on new M.B.
    ... There is a driver on the manufacturers disk but either I am ... it uses the most recent kernel. ... If the install works, ... A bigger problem than a SATA disk drive is a SATA DVD reader. ...
    (comp.os.linux.hardware)
  • Re: Yet another Disk Boot Failure debacle
    ... So what you're saying, Odie, is that I'll continue to have a Disk Boot ... Failure until I upgrade the XP installation on the SATA frive to SP2. ... All my recovery machines boot from IDE drives; if I set Windows to boot ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: booting from ISO image on HD?
    ... You still have to boot your kernel or its bootloader, ... I get the idea - your boss wants you to package a knoppix image for ... booting from harddisk as a single drop-in lump/package on disk. ...
    (comp.os.linux.misc)