initrd and grub root drive assignment

Asked by Steve Romanow

what determines the drive assignments when initrd is made? I
moved a drive from hdc to hdd, and on every boot, it pauses to
check for hdc, and when intird is created for new kernels, it
always puts root=/dev/hdc1 in grub. I have changed fstab,
must be somewhere else

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Solved by:
Torsten Spindler
Solved:
Last query:
Last reply:
Revision history for this message
Felix Heinonen (fheinonen) said :
#1

Thank you for your question.
Please post your /boot/grub/menu.lst

Revision history for this message
Steve Romanow (slestak989) said :
#2

the machine is remote but I will be there tomorrow. before the last kernel upgrade, my menu.1st said hdd1 but it changed it to hdc1 and machine would not boot.

Revision history for this message
Best Torsten Spindler (tspindler) said :
#3

Take a look at /boot/grub/device.map and change the assignment for hd0 and hd1 if necessary.

An alternative approach is depending on the BIOS your computer uses. Some offer to boot from an arbitrary harddisk. If this is a possibility I recommend trying this first.

Revision history for this message
Steve Romanow (slestak989) said :
#4

Thanks Torsten Spindler, that solved my question.