boot loader
Hi, I was running pclinuxos alongside Windows xp pro, I made a partition in windows disk management. I had to format the windows partition and lost the boot loader, Linux is still there but how do I get the boot loader back?. I have the live-install 9.2 pclinuxos I don't want to reinstall as I have a lot of saved stuff, I just need the boot loader, cheers, Adrian
|
smartbootmanager will do that ;-)
|
Quote:
Here's a quick run down: 1. Boot using a live-cd (Knoppix, Slax or SystemRescueCD). 2. mount the linux partition 3. chroot the mounted partition. 4. install boot loader, If it is grub, do Code:
grub-install /dev/hda Code:
/sbin/lilo Tux, |
I'm having a similar problem. I booted into a knopix live cd but i'm having problems mounting my linux partition. It's on it's own hard drive. The HD is a serial one, and when I was booted into linux I remember that the device was called either sda1 or just sda. So I typed mount -t ext3 /dev/sda1 /mnt/sda1 in knopix to mount it. But I getan error saying "wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems. I tried mounting my windows partition after and it mounted without any problems. Any idea what i'm doing wrong?
Also i'm running ubuntu 5.10 along with windows xp. Windows xp is on a regular IDE hard drive and ubuntu is on it's own SATA hard drive. |
Thanks Tux, gonna give it a try and get back to you, the boot loader was lilo, Adrian
|
Quote:
First, make sure what device id your sata drive uses...like sda, sdb. You can find this out from Code:
fdisk -l Based on that info, you would have first create a mount point (even when using Knoppix or any other live-cd). Code:
mkdir /mnt/ubuntu Code:
mount -t <fs-type> -o rw /dev/<device> /mnt/ubuntu Also, Code:
man mount Tux, |
thanx a lot. no I wasn't trying to hijack the thread. I figured it would be a good place to ask here since you can't install grub without mounting the partition and others who have the same issue may run into this problem. But yea I should have searched, sorry.
|
All times are GMT -5. The time now is 03:10 AM. |