Hello list, I installed a new scsi 36G disk in a machine, which had 2x scsi 9G disks in it, with the idea that the new 36G should replace the 2 old (and very noisy) 9G disks. Therefor I have partitioned and formatted the new disk, copied all the data from the old disks. Then i have removed the old ones, jumpered the new one to be /dev/sda, but i cannot figure out how to get it to boot. bootpartition = /dev/sda1, rootpartition=/dev/sda3 (sda2=swap) sda4 is used to store userdata (mnt/public, is a sambashare). In the early days of lilo i knew i had to run lilo, but how do i do that with grub?? TIA L1
At 20:58 21-3-2003 +0100, Leen de Braal wrote:
Hello list,
I installed a new scsi 36G disk in a machine, which had 2x scsi 9G disks in it, with the idea that the new 36G should replace the 2 old (and very noisy) 9G disks. Therefor I have partitioned and formatted the new disk, copied all the data from the old disks. Then i have removed the old ones, jumpered the new one to be /dev/sda, but i cannot figure out how to get it to boot. bootpartition = /dev/sda1, rootpartition=/dev/sda3 (sda2=swap) sda4 is used to store userdata (mnt/public, is a sambashare). In the early days of lilo i knew i had to run lilo, but how do i do that with grub??
TIA L1
Some more info after some googling I did: I booted rescue from SuSE-CD, and have found, that grub-install might help. I mounted /dev/sda1 as /mnt/sda1, checked ./boot/grub and it seemed to have it all there: stage1 and stage2, a menu.lst I did: # grub-install --recheck /dev/sda Probing devices to guess BIOS drives. This may take a long time. /dev/root: Not found or not a block-device. What to do next?? In menu.lst it says: kernel (hd0,0)/vmlinuz root=/dev/sda3 apic vga=785 hdd=ide-scsi initrd (hd0,0)/initrd Seems OK to me, I copied the rootpartition there from the old disks. chroot to that part also works. I'm stuck, help
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
At 22:34 21-3-2003 +0100, Leen de Braal wrote:
At 20:58 21-3-2003 +0100, Leen de Braal wrote:
Hello list,
I installed a new scsi 36G disk in a machine, which had 2x scsi 9G disks in it, with the idea that the new 36G should replace the 2 old (and very noisy) 9G disks. Therefor I have partitioned and formatted the new disk, copied all the data from the old disks. Then i have removed the old ones, jumpered the new one to be /dev/sda, but i cannot figure out how to get it to boot. bootpartition = /dev/sda1, rootpartition=/dev/sda3 (sda2=swap) sda4 is used to store userdata (mnt/public, is a sambashare). In the early days of lilo i knew i had to run lilo, but how do i do that with grub??
TIA L1
Some more info after some googling I did: I booted rescue from SuSE-CD, and have found, that grub-install might help. I mounted /dev/sda1 as /mnt/sda1, checked ./boot/grub and it seemed to have it all there: stage1 and stage2, a menu.lst I did: # grub-install --recheck /dev/sda Probing devices to guess BIOS drives. This may take a long time. /dev/root: Not found or not a block-device.
What to do next?? In menu.lst it says: kernel (hd0,0)/vmlinuz root=/dev/sda3 apic vga=785 hdd=ide-scsi initrd (hd0,0)/initrd Seems OK to me, I copied the rootpartition there from the old disks. chroot to that part also works. I'm stuck, help
What I eventually did to get things running: - booted with rescue disk (CD) - mounted /dev/sda3 in /mnt/sda3 (the root partition I want to be root partition) - chroot to this partition - mounted /dev/sda1 as /boot, so now completely running the system I want to run, except the bootup-things - then I did grub-install /dev/sda - No more errors Machine boots! Everything OK now.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (1)
-
Leen de Braal