Find the answer to your Linux question:
Page 4 of 4 FirstFirst 1 2 3 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157

    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
    Code:
    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
    Code:
    mount /dev/hda5 /boot
    5) now install GRUB manually with
    Code:
    /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
    Code:
    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
    /dev/null
    /dev/null2

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

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

    as root
    How 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

Page 4 of 4 FirstFirst 1 2 3 4

Posting Permissions

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