Results 31 to 33 of 33
hmm, I'm not sure how one does these things form a live cd
OK, I think it's a an idea to install grub from within the installed partiton.
1) Boot ...
- 07-12-2005 #31
hmm, I'm not sure how one does these things form a live cd

OK, I think it's a an idea to install grub from within the installed partiton.
1) Boot up any live cd
2) mount mepis someware I'll call the device /dev/hdb2 and the mountpoith /mnt/hdb2 -- change as neccessary.
3) chroot the mountpoint withthis will turn /mnt/hda2 into / -- it's like being inside that partition if it is booted.Code:su - [rootpass if needed] chroot /mnt/hda2
4) mount /boot with5) now install GRUB manually withCode:mount /dev/hda5 /boot
(replace hda with the name of the disk windows and /boot is on - don't put any partition numbers)Code:/sbin/grub-install hda
6) make sure your /boot/grub/grub.conf is ok for booting, the section on linux should read somthing likelook in you mepis /boot to see the full name of the kernel it should be vmlinuz<somthing> and the root=/ part should be connect already.Code:title mepis kernel (0,4)/boot/vmlinuz root=/dev/hdb2
now save it, and exit, and try and reboot.
- 07-13-2005 #32Just Joined!
- Join Date
- Jun 2005
- Posts
- 64
I get this after running /sbib/grub-install hda
Format of install_device not recognized.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
Report bugs to <bug-grub@gnu.org>.
if i then go to /boot/grub/grub.conf it says the file doesnt exist.
- 07-13-2005 #33
Try
grub-install /dev/hda
as rootHow to know if you are a geek.
when you respond to "get a life!" with "what's the URL?"
- Birger
New users read The FAQ


Reply With Quote
