Booting Linux in Parallels from Disk Partition

Discussion in 'Linux Virtual Machine' started by hashbrown, Jan 29, 2008.

  1. hashbrown

    hashbrown Bit poster

    Messages:
    3
    I just installed Mandriva 2008 on my MacBook Pro into a native partition, /dev/sda3, along with a swap partition, /dev/sda4.

    When I try to run from this partition within Parallels by issuing the following command at the grub commandline which appears when I boot from it:

    grub> configfile (hd0,0)/boot/grub/menu.lst

    I get the following error:

    Error 18: Selected cylinder exceeds maximum supported by BIOS

    Now there was a partial solution at this closed thread

    http://forum.parallels.com/showthread.php?t=10926

    and I made sure my /dev/sda3 partition is before 132 GiB, but still doesn't work. Is it because of my swap partition (location past the 132 GiB limit)? Any help would be appreciated.

    [And yes, the partition boots natively fine.]
     
    Last edited: Jan 31, 2008
  2. Stacey M

    Stacey M Parallels Team

    Messages:
    908
    Hello,

    did you create a .pvs file? If so, please provide me with this file.
    Also please run in Terminal the following command:
    diskutil list
    And provide me with output of this command.

    Best regards,
    Stacey
     
  3. hashbrown

    hashbrown Bit poster

    Messages:
    3
    Hi Stacey,

    Thanks for responding.

    The .pvs file is as follows. Please note that the heads and sectors lines for Disk 0:0 used to have non-zero entries of 16 and 63 respectively, but I changed them to zero to see if that would help the situation.
    [System]
    App Version = 3.0.4560
    Boot = c
    Parallels VM Name = My Boot Camp
    VM Id = {8897f85d-ab12-4a73-aff3-3738489cda8d}
    VM Description =
    OS Type = 147
    Memory = 1500
    Video Memory = 16
    Memory block size = 10
    Acceleration level = 2
    Enable write-back disk cache = 1
    VT-x support = 1
    Start auto = 0
    AutoShutdown = 0
    Start full screen = 21
    Start dashmode = 0
    Start full screen warning = 1
    PC Speaker enable = 1
    Window Mode = 0
    Application Doc Icon = 1
    Multi frame = -1
    Guest Tools Status = -1
    Undo Disks = 0
    Undo Disk Uuid = {00000000-0000-0000-0000-000000000000}
    DirectX support = 0
    [Shared folders]
    Shared folders enabled = 1
    Sharing enabled = 0
    Shared folders count = 0
    [Windows sharing]
    Windows sharing enabled = 1
    AutoMount enabled = 1
    [Video]
    Video resolutions enabled = 1
    Video resolutions count = 0
    [Coherence]
    Show taskbar = 1
    Relocate taskbar = 0
    Exclude Dock = 1
    Multiple displays = 0
    [Shared Application]
    Shared from Win to Mac = 1
    Shared from Mac to Win = 1
    SmartSelect = 1
    Shared from Win to Mac Old = 0
    Shared from Mac to Win Old = 0
    SmartSelect Old = 0
    [IDE devices]
    Disk 0:0 enabled = 1
    Disk 0:0 = 1
    Disk 0:0 media = 1
    Disk 0:0 connected = 1
    Disk 0:0 image = Boot Camp;disk0s3
    Disk 0:0 cylinders = 0
    Disk 0:0 heads = 0
    Disk 0:0 sectors = 0
    Disk 0:1 enabled = 1
    Disk 0:1 = 2
    Disk 0:1 media = 1
    Disk 0:1 connected = 1
    Disk 0:1 image = Default CD/DVD-ROM
    Disk 1:0 enabled = 0
    Disk 1:0 = 0
    Disk 1:1 enabled = 0
    Disk 1:1 = 0
    [Floppy disks]
    Floppy 0 enabled = 0
    Floppy 0 = 1
    [Serial ports]
    COM1 enabled = 0
    COM1 = 0
    COM2 enabled = 0
    COM2 = 0
    COM3 enabled = 0
    COM3 = 0
    COM4 enabled = 0
    COM4 = 0
    [Parallel ports]
    LPT1 enabled = 1
    LPT1 = 3
    LPT1 connected = 1
    LPT1 image = Default Printer
    LPT2 enabled = 0
    LPT2 = 0
    LPT3 enabled = 0
    LPT3 = 0
    [Sound]
    Sound enabled = 1
    Sound = 1
    Sound connected = 1
    Sound device = Default Audio
    Mixer device = Default Audio
    [Network]
    Network enabled = 1
    Network = 3
    Network connected = 1
    Adapter No = 0
    Adapter name = Default Adapter
    Adapter type = 4
    Port = 0x00000300
    IRQ = 3
    MAC address = 001c428f757b
    Network2 enabled = 0
    Network2 = 0
    Network3 enabled = 0
    Network3 = 0
    Network4 enabled = 0
    Network4 = 0
    Network5 enabled = 0
    Network5 = 0
    [Usb]
    USB enabled = 1
    USB = 1
    USB autoconnect = 2

    My partition information is:

    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *186.3 Gi disk0
    1: EFI 200.0 Mi disk0s1
    2: Apple_HFS Macintosh HD 119.9 Gi disk0s2
    3: Microsoft Basic Data 63.9 Gi disk0s3
    4: Apple_HFS 1.9 Gi disk0s4

    The 3rd partition is my linux partition with grub bootloader . The 4th partition is my linux swap.

    Thanks,
    Suresh
     
    Last edited: Jan 31, 2008
  4. codeshepherd

    codeshepherd Bit poster

    Messages:
    2
  5. hashbrown

    hashbrown Bit poster

    Messages:
    3
    No I gave up after spending a lot of time on it. Gave up on Parallels too as a result. If you do ever figure this out, please let me know. I don't think the Parallels guys are interested in this issue at all.
     

Share This Page