Click to See Complete Forum and Search --> : Installed RedHat using Boot disk, no bootloader, how can I repair?
In short, for some reason I wasn't thinking and specified "No bootloader" during the 7.2 setup. I have a boot disk that I can boot the system off fine, but I need to be able to boot it from the hard drive. How can I fix this? Thanks!
you can put the redhat CDrom #1 in and go thru the procedure of install and select upgrade, since it is the same version you allready have installed it wont install any new packages unless you want to select to add something, and let it install LILO or Grub (whatever you prefer)...
there may be other ways of fixing this, but if you opted to NOT let it install a boot loader the packages may not be there, it could be possible to boot with the floppy then select the LILO or Grub package off the CDrom without doing the upgrade thingy but if there are dependency problems you will also have that to deal with, and the upgrade deal should resolve any possible dependency issues...
z0mbix
03-18-2002, 11:06 AM
Depends if you are using grub or lilo. I believe RedHat uses grub as default. If lilo is configued correctly just run lilo as root to install this bootloader. Post which you would like to use and where you want the bootloaded installed, MBR, superblock etc and post your current /etc/lilo.conf or /etc/grub.conf depending on which your choose.
Ok... I tried the upgrade, that method didn't work (it won't install a new bootloader if nothing changes, argh)..
As for what I'd like to do, I don't care if it's lilo or grub. I have both packages installed. Neither lilo.conf nor grub.conf exist however, so I'd have to create those. I'm trying to install to /dev/sda...
Thanks again!
mdwatts
03-18-2002, 11:26 AM
Could you not do the upgrade and select Lilo or Grub as the upgrade.
If this is a new install, why not just reinstall and this time select the correct bootloader?
Because my not so intelligent self spent a ton of time configuring NIS, NFS, SMB, etc and migrating data and now I'm stuck.
Nevermind I got it. Didn't know it was this easy:
1: touch lilo.conf (in /etc)
2: add the following: (in my case)
prompt
timout=30
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
vga=0
image=/boot/vmlinuz
label=linux
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/sda2
3: /sbin/lilo
4: WALA!
Thanks guys.