oopsie
well windows desided to die, and i reinstalled it without thinking, well now i lost GRUB how can i get back into linux, and i dont have a startup disk... im using rh8
thx |
Put CD1 in the drive. At the boot: prompt type "linux rescue". once booted into rescue mode type:
/sbin/grub-install /dev/hda This is assuming you want grub installed on the MBR of hda. |
when i type linux restore, it goes through all the stuff and says it finds my OS and then saves it some where, when it finishes, i type in what you told me to and it says it cant find the file
|
Did your really type 'linux restore'? Did you specify the whole path to grub-install?(i.e. /sbin/grub-install)
|
do you have to use " around linux restore?
|
ok i tried again this is whats happening,
i type linux restore i selceted US and english then it runs through and sends me out to i think shell and says this "Your system is mounte /mnt/sysimage After you exit your system will reboot -/bin/sh-2.05b#/" is that where i type /sbin..... |
/mnt/sysimage/sbin/...
That's the full path. Cool |
ok i got into linux, via boot disk " i found it " how do i re install grub
|
Quote:
|
What I used to do is after you system gets mounted under /mnt/sysimage do a 'chroot /mnt/sysimage' then do '/sbin/grub-install /dev/hda' as you were instructed in the first post.....
reboot, and you should be golden. If you don't want to chroot then you have to cd to /mnt/sysimage then do ./sbin/grub-install yadda yadda Another thought...sometimes grub-install is in /usr/sbin |
All times are GMT -5. The time now is 06:15 AM. |