Find the answer to your Linux question:
Results 1 to 3 of 3
I have a hard drive system: Master 250 G Slave 100G Raid 0 a 120G b 120G External 120G Finally a new SATA 320G Evertime I tried to install any ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    1

    [SOLVED] Grub Error 22

    I have a hard drive system:

    Master 250 G
    Slave 100G
    Raid 0
    a 120G
    b 120G
    External 120G
    Finally a new SATA 320G


    Evertime I tried to install any version of linux on the 100G slave drive a Grub error 22 would come up. I tried to install on the 320 G SATA and I would get the same Grub error 22

    I followed everbodies guidance on grub. I reinstalled grub with the following commands
    grub > find/boot/grb/stage1
    root (hd3,0)
    setup (hd0)

    Well I would get a conformation that everything work and it answered yes. But when I rebooted same error.
    Error 22

    I then booted a live CD and opend my device.map in the /boot/grub/ dir. It listed this

    HD0 SDA (Raid 0)
    HD1 SDB (Raid 0)
    HD2 SDC (320 G SATA)
    HD3 SDD (LINUX)
    HD4 SDE (Vista)
    HD5 SDH (External drive)

    HD3 is my corect SDD / But HD0 was drive (a) of my raid 0 SDA.

    So when I reinstlled Grub it was writing the boot sector on HDO but this was not the boot drive.

    SO to install linux studio 9.04 I disconnected all three SATA cable from the raid dives a and b, and the 320g also.

    When the bios booted all I had was the master and the slave. Pressed F8 for an alternate boot. Booted the DVD and all installed restarted and linux booted no more grub errors. Reconnected my SATA drive and my Vista and Linux running like a champ.

    The thing to look for when installing linux is the manual partioner if the drive you are installing linux on is not HD0 SDA (0,0,0) you will get grub errors.

    My SDA was the raid drive not the boot drive. Not even my vista drive was HD0 on the Master IDE channel.

    My SATA Channels on the Motherboard are interpedtied by linux as:
    SATA channels SATA 1 = SDA, SATA 2 = SDB SATA 3 SDC. If you isntall on a SATA only system you are only going to install linux on SATA 1.

    Hope this helps everyone.

    Headpin11

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    This is a good writeup on this problem. Many newbees aren't aware of the fact that the drive designators might not be what they expect in situations where the system configuration is not "standard". It's a good example of why systems that are not pretty much "vanilla" should be installed by professionals. Just imagine if most people had to install Windows from scratch! Since their systems typically come with Windows already installed, with just the final configuration (user ids, etc) to be specificied, they miss the opportunity to "enjoy" the process of installing their OS on the bare metal. Too bad. If they had to do that, they might be more amenable to installing Linux, which in comparison is not difficult at all (IMHO).
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    2,941
    Quote Originally Posted by Rubberman View Post
    It's a good example of why systems that are not pretty much "vanilla" should be installed by professionals.
    I disagree with this ... as far as Linux is concerned I'm not professional, but install the OS the way I want and fix problems I have. Actually I have found most installers do a good job of setting things up for you. Grub takes a bit of getting used to ... but the online manual and live CD's mean it's something you can get online for help and fix fairly easily.

    My approach is usually backup user data and go for it ... I read what I think I need and then have a go. I learn things from the forums all the time ... have limited knowledge of Linux but I am learning slowly.

Posting Permissions

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