Need some help!
I currently have a working system with the following 3 hard drives and partitions:
SDA3..........ext3........Debian i386 (Sid)...................Primary
SDA4..........ext3........New Deb AMD64 Etch Install....Primary
SDA5..........FAT32..Windows_D(share with Linux).......Logical / Extended
SDA7..........ext3........Chroot for Deb AMD64 install....Logical / Extended
SDA8..........ext3........Debian i386 /usr.....................Logical / Extended
SDA9..........ext3........Debian AMD64 /usr .................Logical / Extended
The other 2 hard drives have non executable data and home directories for both Linux distributions.
The windows XP and Debian i386 installations still work fine and I can boot both of them from Grub without issue. I repartitioned the SDA hardrive with PartedMagic 2.0 (Great Utility!!!), and reduced the win Xp partition and removed 2 other FAT32 windows share partitions, in order to install Debian AMD64 on the SDA4 and SDA9 partitions. I can not get GRUB to find the AMD64 install. I have tried:
grub>root (hd0, [+tab key]
and I get:
partition num: 0, filesystem type unknown, partition Type 0x7
partition num: 2, filesystem type ext2fs, partition Type 0x83
partition num: 3, filesystem type ext2fs, partition Type 0x83
partition num: 4, filesystem type FAT, partition Type 0xb
partition num: 5, filesystem type unknown, partition Type 0x82
partition num: 6, filesystem type ext2fs, partition Type 0x83
partition num: 7, filesystem type ext2fs, partition Type 0x83
partition num: 8, filesystem type ext2fs, partition Type 0x83
and only get (hd0,2) as a response ==>SDA3 the i386 install and grub boot partition
I would expect to see (hd0,3) for SDA4 listed as well
I have also tried:
Grub>kernel / [+tab key]
and I get an error 2: bad file or directory type
I checked all the new partitions and I get an error 2 with the above Grub>root+kernel trick. My old partitions come up fine, listing all files in root directory, but all new partitions give me the same error 2.
I would assume this meant that the partitions or file systems are somehow corrupt. I booted into the i386 installation and mounted /dev/sda4, and was able to read *and* copy all files to one of my other hard drives. Vmlinuz is in the root directory. So it would seem that the data is ok. I have done partition and file system checks from the i386 partition and PartedMagic and have not found any problems.
Looking at the AMD64 root partition SDA4 from my i386 install, I get:
karl2@Cor2Deb:/x64deb/root$ ls -l
drwxr-xr-x 2 root root 4096 2008-02-18 20:33 bin
drwxr-xr-x 2 root root 4096 2008-02-18 20:33 boot
lrwxrwxrwx 1 root root 11 2008-02-18 20:32 cdrom -> media/cdrom
drwxr-xr-x 4 root root 4096 2008-02-18 20:33 dev
drwxr-xr-x 41 root root 4096 2008-02-18 20:37 etc
drwxr-xr-x 3 root root 4096 2008-02-18 20:36 home
drwxr-xr-x 2 root root 4096 2008-02-18 20:32 initrd
lrwxrwxrwx 1 root root 30 2008-02-18 20:33 initrd.img -> boot/initrd.img-2.6.22-3-amd64
drwxr-xr-x 11 root root 4096 2008-02-18 20:33 lib
lrwxrwxrwx 1 root root 4 2008-02-18 20:32 lib64 -> /lib
drwx------ 2 root root 16384 2008-02-18 15:20 lost+found
drwxr-xr-x 4 root root 4096 2008-02-18 20:32 media
drwxr-xr-x 2 root root 4096 2007-11-19 13:21 mnt
drwxr-xr-x 2 root root 4096 2008-02-18 20:32 opt
drwxr-xr-x 2 root root 4096 2007-11-19 13:21 proc
drwxr-xr-x 3 root root 4096 2008-02-18 20:36 root
drwxr-xr-x 2 root root 4096 2008-02-18 20:36 sbin
drwxr-xr-x 2 root root 4096 2008-02-18 20:32 srv
drwxr-xr-x 2 root root 4096 2008-02-01 13:51 sys
drwxrwxrwt 2 root root 4096 2008-02-18 20:36 tmp
drwxr-xr-x 2 root root 4096 2008-02-18 20:32 usr
drwxr-xr-x 13 root root 4096 2008-02-18 20:32 var
lrwxrwxrwx 1 root root 27 2008-02-18 20:33 vmlinuz -> boot/vmlinuz-2.6.22-3-amd64
Based on my system above I would expect the stanza for the AMD64 install in the grub /boot/grub/menu.lst of the i386 install to read:
title Debian x64, Kernel 2.6.22-3-amd64
kernel /boot/vmlinuz-2.6.22-3-amd64 root=/dev/sda4 ro
What am I overlooking?
- I realize I can chroot an additional installation from within my working i386 system, but what is the fun in that?
- I had to run the Etch installer and PartedMagic using the BIOS setting of AHCI so that the SATA drives are recognized. This is also how I installed the working i386 installation. I am now running 220.127.116.11 on my i386 installation, which has a fix for the ICH7 controller on my MB to allow PATA+SATA mode instead of AHCI - see kernel bugzilla #8923. I am not able to see SDA4 in either BIOS mode.
- I have also tried to partition and format using the etch installer, with the same results
- I have tried SuperGrub, and it too will not recognise the AMD64 installation.
- I have spent the last few days reading the Grub man and googling for answers
Other pertenant system info:
Asus P5WDH mother board - ICH7 Family SATA IDE Controller
Intel E6600 Conroe
3x WDC WD3200KS-00P hard drives
2x LITE-ON DVDRW SHM-165H6S