[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Added HD, now Grub only loads when Live CD is in tray
From: |
flash . 54n |
Subject: |
Re: Added HD, now Grub only loads when Live CD is in tray |
Date: |
Fri, 30 Oct 2009 10:26:23 +0100 |
User-agent: |
Internet Messaging Program (IMP) 3.2.8 |
Hi,
With the data provide, what I understand (and I 'm not a expert), is the "/" is
sdd1 and you don't have a separte "/boot" (it 's include in /, the /etc/fstab
should show no "/boot" and sdd1 linked to "/").
The only think, I see that can cause problem, is the ordre in BIOS of your disk.
As your problem only happen when you plug the new disk, it must change the
order.
I think the hd3 don't point to sdd so, when you boot, sdd is still the one with
grub but grub search elsewhere the /boot.
Can you check with grub shell with and without the new disk this command :
"grub> find /boot/grub/stage1" ?
It should return the same result if I wrong.
The command should return in grub-speak the hdd and the partition on it, so for
you
(hd3,0)
You can assure that grub is installed on the mbr of sdd, with the command setup.
depending on the previous result, here the command :
grub> setup (hd3)
If hd3 was the result command and you don't have a separate partition for /boot.
Please post your result and the data asked on the list because as I say, I'm not
a expert. Someone can help you better but you need to put the data asked as
there provide comprehensiveness of your system and the problem that could
possibly stick you.
++
Flash Koti
in response to Paul (response clean up a bit)
>Disk /dev/sda: 320.0 GB
> Device Boot Start End Blocks Id System
>/dev/sda1 1 16254 122880208+ 7 HPFS/NTFS
>/dev/sda2 16255 41345 189687960 83 Linux
>Disk /dev/sdb: 320.0 GB
> Device Boot Start End Blocks Id System
>/dev/sdb1 1 516 4144738+ 82 Linux swap / Solaris
>/dev/sdb2 517 3703 25599577+ 83 Linux
>/dev/sdb3 3704 38913 282824325 83 Linux
>Disk /dev/sdc: 1000.2 GB
> Device Boot Start End Blocks Id System
>/dev/sdc1 1 121601 976760001 83 Linux
>Disk /dev/sdd: 32.0 GB
> Device Boot Start End Blocks Id System
>/dev/sdd1 * 2 61067 31265792 83 Linux
>Disk /dev/sde: 1000.2 GB
> Device Boot Start End Blocks Id System
>/dev/sde1 1 121601 976760001 83 Linux
>All are SATA, and sdd is actually a solid state drive. As you can see, only
sdd1 is bootable.
>I added /dev/sde to the device map myself:
>(fd0) /dev/fd0
>(hd0) /dev/sda
>(hd1) /dev/sdb
>(hd2) /dev/sdc
>(hd3) /dev/sdd
>(hd4) /dev/sde
>and then invoked grub with the --device-map=/boot/grub/device.map parameter.
Next, I set root to (hd3,0) and setup to (hd3). I did NOT use >grub-install.
Should I?
>You also asked for menu.lst:
># menu.lst - See: grub(8), info grub, update-grub(8)
>default 0
>timeout 10
>title Ubuntu 9.04, kernel 2.6.28-16-generic
>uuid 6b2bb1bd-cb07-42fc-959a-30d835e3c7fa
>kernel /boot/vmlinuz-2.6.28-16-generic
root=UUID=6b2bb1bd-cb07-42fc-959a-30d835e3c7fa ro quiet splash
>initrd /boot/initrd.img-2.6.28-16-generic
>quiet
>title Ubuntu 9.04, kernel 2.6.28-16-generic (recovery mode)
>uuid 6b2bb1bd-cb07-42fc-959a-30d835e3c7fa
>kernel /boot/vmlinuz-2.6.28-16-generic
root=UUID=6b2bb1bd-cb07-42fc-959a-30d835e3c7fa ro single
>initrd /boot/initrd.img-2.6.28-16-generic
>title Ubuntu 9.04, memtest86+
>uuid 6b2bb1bd-cb07-42fc-959a-30d835e3c7fa
>kernel /boot/memtest86+.bin
>quiet
>### END DEBIAN AUTOMAGIC KERNELS LIST
># This is a divider, added to separate the menu items below from the Debian
># ones.
>title Other operating systems:
>root
># This entry automatically added by the Debian installer for a non-linux OS
># on /dev/sda1
>title Microsoft Windows XP Professional
>rootnoverify (hd0,0)
>savedefault
>makeactive
>chainloader +1
>## END menu.lst
>Paul