[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Install CD doesn't recognize my hard drive



Incoming from Hadar Pedhazur:
> s. keeling wrote:
> >Perhaps you should post your /etc/lilo.conf, the output of "mount" (in
> >the running Xandros), and perhaps "fdisk -l /dev/your_boot_drive".
> 
> Thanks for your continued help. Here are the results of the those 
> three commands/files (all of which are the result of booting off of 
> the Xandros rescue floppy, with kernel 2.4.22-x1):
> 
> /etc/lilo.conf:
> 
> boot=/dev/hda
> install=/boot/cboot.b
> message=/boot/splash.lilo
> timeout=300
> map=/boot/map
> prompt
> fix-table
> lba32
> read-only
> disk=/dev/hda bios=0x80
> image=/vmlinuz
>         label=Debian_2.6.4
>         vga=0xf04
>         root=/dev/hda2
>         initrd=/boot/initrd-2.6.4-1-686.gz
>         append="rw acpi=on "
> image=/vmlinuz
>         label=Safe_Video_Mode
>         vga=0xf04
>         root=/dev/hda2
>         initrd=/boot/initrd-2.6.4-1-686.gz
>         append="3 rw acpi=on "

So far so good, assuming /vmlinuz is a link pointing to /boot/vmlinuz-2.6.4-1-686

> image=/vmlinuz
>         label=Debian_2.4.22
>         vga=0xf04
>         root=/dev/hda2
>         initrd=/boot/initrd-2.4.22-x1.gz
>         append="rw acpi=on "
> image=/vmlinuz
>         label=Safe_2.4.22
>         vga=0xf04
>         root=/dev/hda2
>         initrd=/boot/initrd-2.4.22-x1.gz
>         append="3 rw acpi=on "

Why does this one ---^ use the same as the two before it?  That should
be:

  image=/vmlinuz.old

(or something) and you should do:

  ln -s /boot/vmlinuz-2.4.22-x1 /vmlinuz.old

> image=/vmlinuz
>         label=Expert
>         vga=normal
>         root=/dev/hda2
>         initrd=/boot/initrd-2.6.4-1-686.gz
>         append="single rw acpi=on "

And that's wretched excess.  You already have 2.6.4-1-686 defined
above (the top two), and anything you're doing with any of them can be
done with boot prompt parameters (vga, acpi, single).

That's probably what you need to sort out.  However, you're also using
reiserfs and devfs, two things I've never bothered with so it's time
to hand off to others.

> Output of mount command:
> 
> /dev/ide/host0/bus0/target0/lun0/part2 on / type reiserfs (rw)
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,gid=5,mode=620)
> tmpfs on /dev/shm type tmpfs (rw)
> usbdevfs on /proc/bus/usb type usbdevfs (rw,devmode=0666)
> automount(pid671) on /var/autofs/floppy.1 type autofs 
> (rw,fd=4,pgrp=671,minproto=2,maxproto=9)
> automount(pid663) on /var/autofs/cdrom.1 type autofs 
> (rw,fd=4,pgrp=663,minproto=2,maxproto=9)
> /dev/floppy/0 on /mnt/fd0 type minix (rw,nosuid,nodev)
> 
> Output of fdisk -l (three times, for hda, hda1 and hda2):

Only the first (/dev/hda) is significant.  fdisk on a partition is
undefined or wrong.

> Disk /dev/hda: 14.1 GB, 14135869440 bytes
> 240 heads, 63 sectors/track, 1826 cylinders
> Units = cylinders of 15120 * 512 = 7741440 bytes
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hda1               1          68      514048+  82  Linux swap
> /dev/hda2   *          69        1826    13290480   83  Linux


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: