Hi
I have a pc running kubuntu 7, and I just installed 8.10 in a separate partition, but I can only boot into K7. I had similar issues with grub when moving from 6 to 7, but I can't figure out what the problem is this time.
My pc has two disks, a scsi (sdb) and an ide (sda), and the root of my problems is that the bios sees the scsi as the primary, but once kubuntu is booted, it thinks that the ide is the primary. Both kubuntu installs are on the scsi.
I should, however, be able to force grub to install the new bootloader on the scsi, which is what I did before. This time it doesn't seem to work. The new root is sdb5 and the old is sdb6. Let's see what happens when I try to install mbrs on these partitions with grub:
grub> geometry (hd1)
drive 0x81: C/H/S = 30401/255/63, The number of sectors = 488397168, /dev/sdb
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 2, Filesystem type unknown, partition type 0x82
Partition num: 4, Filesystem type is ext2fs, partition type 0x83
Partition num: 5, Filesystem type is ext2fs, partition type 0x83
Partition num: 6, Filesystem type is ext2fs, partition type 0x83
Partition num: 7, Filesystem type is ext2fs, partition type 0x83
Partition num: 8, Filesystem type is ext2fs, partition type 0x83
grub> root (hd1,4)
grub> setup (hd1,4)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 2: Bad file or directory type
grub> root (hd1,5)
grub> setup (hd1,5)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1,5)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd1,5)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd1,5) /boot/grub/stage2 p /boot/grub/menu.ls
t "... succeeded
Done.
grub> root (hd1,4)
grub> cat /boot/grub/menu.lst
Error 2: Bad file or directory type
So grub refuses to read files from sdb5. However I can mount this file system, it looks perfectly ok. Any help with this would be much appreciated,
cheers
Barry
I have a pc running kubuntu 7, and I just installed 8.10 in a separate partition, but I can only boot into K7. I had similar issues with grub when moving from 6 to 7, but I can't figure out what the problem is this time.
My pc has two disks, a scsi (sdb) and an ide (sda), and the root of my problems is that the bios sees the scsi as the primary, but once kubuntu is booted, it thinks that the ide is the primary. Both kubuntu installs are on the scsi.
I should, however, be able to force grub to install the new bootloader on the scsi, which is what I did before. This time it doesn't seem to work. The new root is sdb5 and the old is sdb6. Let's see what happens when I try to install mbrs on these partitions with grub:
grub> geometry (hd1)
drive 0x81: C/H/S = 30401/255/63, The number of sectors = 488397168, /dev/sdb
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 2, Filesystem type unknown, partition type 0x82
Partition num: 4, Filesystem type is ext2fs, partition type 0x83
Partition num: 5, Filesystem type is ext2fs, partition type 0x83
Partition num: 6, Filesystem type is ext2fs, partition type 0x83
Partition num: 7, Filesystem type is ext2fs, partition type 0x83
Partition num: 8, Filesystem type is ext2fs, partition type 0x83
grub> root (hd1,4)
grub> setup (hd1,4)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 2: Bad file or directory type
grub> root (hd1,5)
grub> setup (hd1,5)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1,5)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd1,5)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd1,5) /boot/grub/stage2 p /boot/grub/menu.ls
t "... succeeded
Done.
grub> root (hd1,4)
grub> cat /boot/grub/menu.lst
Error 2: Bad file or directory type
So grub refuses to read files from sdb5. However I can mount this file system, it looks perfectly ok. Any help with this would be much appreciated,
cheers
Barry
Comment