I have a box with WinXP in partition 1, Linux swap in 2, Kubuntu root in 3, and /home in 4. I got in trouble with gparted, and have been working my way back to a functioning system. I'm now at the point where I simply need to reinstall grub.
I'm working on an HP mini netbook. I have a USB optical drive attached, with my Kubuntu live CD in it.
tells me that the USB optical drive is /dev/sr0
I was told to use this two commands to reload grub:
The result of this was [1] no errors reported, and [2] when I try to boot, I get a black and white screen with "GNU GRUB version 1.98-1ubuntu5" at the top, a 3-sentence brief instruction paragraph (of general rather than specific helpfulness, to me), then a "grub>" command line prompt.
I don't know what to do next. I'm guessing I have to construct some file containing some commands Just a guess. Going off to research this. Meanwhile, if anyone can direct me, I'd be grateful.
I'm working on an HP mini netbook. I have a USB optical drive attached, with my Kubuntu live CD in it.
Code:
df -h
I was told to use this two commands to reload grub:
Code:
sudo mount /dev/sda3 /mnt sudo grub-install --root-directory=/mnt/boot /dev/sda
I don't know what to do next. I'm guessing I have to construct some file containing some commands Just a guess. Going off to research this. Meanwhile, if anyone can direct me, I'd be grateful.
Comment