Find the answer to your Linux question:
Page 4 of 4 FirstFirst 1 2 3 4
Results 31 to 33 of 33
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004

    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 with
    su -
    [rootpass if needed]
    chroot /mnt/hda2
    this will turn /mnt/hda2 into / -- it's like being inside that partition if it is booted.

    4) mount /boot with
    mount /dev/hda5 /boot
    5) now install GRUB manually with
    /sbin/grub-install hda
    (replace hda with the name of the disk windows and /boot is on - don't put any partition numbers)

    6) make sure your /boot/grub/grub.conf is ok for booting, the section on linux should read somthing like
    title mepis
          kernel (0,4)/boot/vmlinuz  root=/dev/hdb2
    look 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.

    now save it, and exit, and try and reboot.
    Registered Linux User #371543!
    Get force-get May The Source Be With You

  2. #32
    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
    --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

    Report bugs to <>.

    if i then go to /boot/grub/grub.conf it says the file doesnt exist.

  3. #33
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Knee deep in Grand Rapids, Michigan
    grub-install /dev/hda

    as root
    If you want to learn more about linux take a linux journey
    Use CODE tags when posting output of commands. Thank you.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts