Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Os Talk => Topic started by: judge on May 25, 2005, 03:55:42 AM

Title: how to boot linux when harddisk location is changed
Post by: judge on May 25, 2005, 03:55:42 AM
hello frens,
 
i hv installed linux on hda1 and then changed to slave port i.e. hdb1
now thr is kernel panic .
can any one tell me how to change all paramitres in linux files so that i can boot  from hdb1 too.

plz dont say to change my harddisk to hda1 back .


if any one is successful in this then plz reply me

Thank you!
 :shock:
Title: how to boot linux when harddisk location is changed
Post by: sridip on May 25, 2005, 06:11:56 PM
1. boot using linux cd.
2. type: linux rescue
3. chroot as instructed
4. vi /etc/grub-conf
5. edit hda to hdb
6. grub-install /dev/hda
7. reboot
Title: how to boot linux when harddisk location is changed
Post by: judge on May 26, 2005, 09:19:10 AM
but this is the method to boot linux only ,  not to load the linux fully,
i hv done this by ur method and by loadlin etc
but problem is kernel panic .

so plz tell me change linux configuration for that hdb
Title: how to boot linux when harddisk location is changed
Post by: sridip on May 26, 2005, 06:29:07 PM
send me the output when there is kernel panic.