March 28, 2024, 12:31:06 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: how to boot linux when harddisk location is changed  (Read 5292 times)

Offline judge

  • Linux Noob !
  • *
  • Posts: 12
how to boot linux when harddisk location is changed
« 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:

Offline sridip

  • Linux Noob !
  • *
  • Posts: 9
how to boot linux when harddisk location is changed
« Reply #1 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

Offline judge

  • Linux Noob !
  • *
  • Posts: 12
how to boot linux when harddisk location is changed
« Reply #2 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

Offline sridip

  • Linux Noob !
  • *
  • Posts: 9
how to boot linux when harddisk location is changed
« Reply #3 on: May 26, 2005, 06:29:07 PM »
send me the output when there is kernel panic.