Re: Linux and windows install

From: Jonathan Berry (berryja_at_gmail.com)
Date: 03/17/05

  • Next message: Carlo Orecchia: "ATI tv out"
    Date: Wed, 16 Mar 2005 17:19:31 -0600
    To: francois@arvernes.com, For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    On Wed, 16 Mar 2005 20:06:57 +0100, Francois Massonneau <frmas@free.fr> wrote:
    [snip]
    > I did that, but it has failed ;-(((
    >
    > Now when I boot, I see :
    > booting linux 2.6.9-1.667smp
    > root hd0,0
    > filesystem type unknown, partition type 0x7
    > kernel /vmlinuz-2.6.9-1.667smp ro root=LABEL=/ rhgb quiet
    > error 17 : cannot mount selected partition
    > press any key to continue.
    >
    > First, I should have seen the grub menu.
    > but if i press a key, I can see the grub menu, but the screen is black and
    > white only with vertical lines, and is very difficult to read.
    > So once I can see (imagine) the grub menu, I have in it the three options
    > (linux, linux smp, and windows)
    > None of them works.
    > if I try windows, I see :
    > root noverify (hd1,0)
    > chainloader +1
    > error 10 (I'm not sure about the number displayed) : invalid or unsupported
    > executable.
    >
    > when booting with the rescue disk, I have in the grub.conf file :
    > #boot=/dev/hda
    > default=0
    > timeout=5
    > splashimage=(hd0,0)/grub/splash.xpm.gz
    > title Linux (2.6.9-1.667smp ro root=LABEL=/ rhgb quiet
    > initrd /initrd-2.6.9-1.667smp.img
    > title Linux-up (2.6.9-1.667)
    > root (hd0,0)
    > kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
    > initrd /initrd-2.6.9-1.667.img
    > title windows
    > rootnoverify (hd1,0)
    > chainloader +1
    >
    > Something must be wrong in it.
    >
    > thank you to everybody who could help. Thanks. Francois

    It looks like GRUB is still confused about disks and partitions.
    Could you boot with the rescue CD (or CD1 with "linux rescue") and get
    us the output of "fdisk -l" (the full output, please). The first
    error, the unknown partition type means that it is either trying to
    access you Windows disk, or the partition has the wrong type number.
    Also, what does your /boot/grub/device.map contain now? If /dev/sda
    is mapped to (hd0) and it contains your Windows install (I believe
    that is right), then the numbers in your grub.conf need to be switched
    around.
    So your Windows section would be:
    title Windows
    rootnoverify (hd0,0)
    chainloader +1

    Linux would be (smp is going to be similar):
    title Linux-up (2.6.9-1.667)
    root (hd1,0)
    kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
    initrd /initrd-2.6.9-1.667.img

    And you should also change the "splashimage" line to point to (hd1,0).
     To see if this will work, you can try booting Windows manually. When
    you have the GRUB boot prompt hit Esc (escape key) and press 'c' to
    bring up a command line. Then type this:
    rootnoverify (hd0,0)
    chainloader +1
    boot

    If Windows then boots, you should make the changes I suggest to you
    grub.conf, and things should work. By the way, I assume you SMP entry
    is not how you show it (you are missing the "root" line and part of
    the "kernel" line is up with the title).

    Jonathan

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Carlo Orecchia: "ATI tv out"

    Relevant Pages

    • RE: Linux hacked
      ... Subject: Linux hacked ... After you boot up into the OS running from CD, ... >> First let me say I'm a security novice. ... >> been unsuccessful in getting root back. ...
      (Security-Basics)
    • Re: How do I solve this boot.ini problem with WinXP?
      ... This is the current state of my boot.ini file in Win2K's Root: ... In a Microsoft dual boot ... or Multiple Hard Disk only one can be set as a "Active Partition". ...
      (microsoft.public.windowsxp.newusers)
    • Re: Password
      ... I ran a quick search on Ask with the phrase "linux lost ... Have you ever forgotten your root password? ... Fortunately, it wasn't a boot password, so I did have ... (although "mount" may say it is). ...
      (alt.os.linux)
    • Re: New To Linux
      ... A file can be user root and group root, but when yo uhave a look you will ... The concept behind Linux IS confusing for someone accustomed to windows, ... execute, delete). ... In windows you are always an Administrator unless you use explicitely the ...
      (alt.os.linux.suse)
    • Re: New to linux..looking for program I can boot and run off CD
      ... >>and he was using a windows os but booted and run Linux programs off a CD. ... >having to do a dual boot thing on my current machine. ... > That would be Knoppix or one of it's derivatives. ...
      (alt.linux)