Announcement

Collapse
No announcement yet.

adding logical partitions to device.map after pulling another drive

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    adding logical partitions to device.map after pulling another drive

    I pulled an old disk, changing my drive lettering.

    Currently, to boot, I need to edit the hda(1,8) in grub to hda(0,8), after which things work normally.

    grub-install won't install to that, though, complaining that it isn't a block device or that there is no bios entry.

    I've tried adding to device.map in the manner in the documentation for grub, but still no luck. I have

    (hd0) /dev/hda
    (hd0,e) /dev/hda5
    (hd0,i) /dev/hda9
    (hd1) /dev/hdb
    (hd2) /dev/hdc

    What should I *really* be doing?

    thanks

    hawk
    Noone else may have these opinions without paying my retainer

    #2
    Re: adding logical partitions to device.map after pulling another drive

    hda(1,8) in grub to hda(0,8)
    Wrong notation.

    Not sure what the operational problem is, but ...
    Find out how GRUB sees the drives that you DO now have installed, then simply edit menu.lst to reflect that truth.
    To find out how GRUB sees the drives:
    Open Konsole
    sudo grub
    grub>geometry (hd<Press the TAB key now>
    (do not type the symbols <, >)
    That will return a list of drives that GRUB finds (GRUB reads BIOS to get this).
    Then, explore each drive returned:
    grub>geometry (hd0)
    grub>geometry (hd1)
    grub>geometry (hd2)
    etc.
    Identify the drives.
    Edit the main boot menu to reflect such.

    Other GRUB tools here:
    -- How To GRUB Methods - Toolkit
    http://kubuntuforums.net/forums/inde...opic=3081671.0

    Suggest you avoid grub-install unless you really understand how it works (and then device.map is an issue). Instead, use the setup command at Konsole. But, you may not need any of that.
    The How-To contains a SECTION on re-installing GRUB (to the MBR of the first BIOS boot drive).
    An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

    Comment

    Working...
    X