Re: Help needed to repair a damaged dual boot Debian System
Bob Proulx wrote:
I must state that this Desktop was never fitted with any Linux system
else than Lenny. When I mentioned the 'original OS', I meant MSWIN XP.
The Debian partition was on /dev/sda3 from start. This is not until I
had a graphic card collapse and a repair in a shop, that I found that my
Linux system now had to be booted on /dev/hda3
was fitted with MSWIN XP ; I repartitioned the HD to have a dual boot
(GRUB) with Debian Lenny and the original OS ; it worked very well in
such config for more than 2 years or so ; I had a mysql server on it,
with mysql databases.
Here you say Lenny. But then...
just waited indefinitely without doing nothing. Error messages appeared
after 4 or 5 long minutes of idling, they mostly said that /dev/sda3 did
not (no longer) exist, and that, perhaps, I should try /dev/hda3. I did
And /dev/sda would be right for Lenny. In Lenny's 2.6.26 kernel all
device names work under the scsi naming.
But then you say /dev/hda and the hda names are the old kernel names.
This leads me to believe that you are booting an older kernel. The
previous Etch kernel used hd names. I think that is part of your
The first thing I would check is to see which kernels are available
and which one you are booting. You can do this from the grub command
I only have one kernel to boot, which is
Other choices in my GRUB menu are to boot the same kernel on a "Single
User Mode", or to boot MSWIN XP... no more.
I usually use TAB for filename completion expansion and use it
like an ls command. (The new version of grub includes a real ls
command but older ones did not.) Find out if you are booting the
If you find that you are not booting the right kernel then modify the
grub boot on the fly as you have already been doing successfully to
specify both the kernel and the associated initrd for it.
If that works it should get you to a good booting system. But then
you will need to report that problem and fix up any other
modifications setting things back to hd* that you may have made such
as /etc/fstab. Everything should use /dev/sd* names now.
By the way, below is a copy/paste of the /eetc/fstab on that computer:
# /etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / ext3 errors=remount-ro 0 1
/dev/sda2 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda /media/cdrom1 udf,iso9660 user,noauto 0 0
discovered so far. For once, the CDROM drivers did not operate at all on
Debian environment ; under MSWIN one of the two drivers did operate ;
If my guess is right about the kernel then that would explain this
part not working too.
none of the two drives would boot a bootable CD (whatever settings in
the BIOS SETUP), so there is no way that I could possibly launch a
Hopefully you would be able to boot a rescue cdrom. The debian
installer disk has a rescue mode. That can be very useful to repair a
system such as yours. If the above grub selection of a newer kernel
does not work then I recommend using the debian-install disk as a
Well, but I can't get any of my cdrom drives to work !
Thanks for your message