Grub Error :18 Selected cylinder exceeds maximum supported by BIOS

Discussion in 'Linux Virtual Machine' started by codeshepherd, Mar 28, 2008.

  1. codeshepherd

    codeshepherd Bit poster

    Messages:
    2
    Hi All,
    I have installed Fedora 8 along with macosx in my new macbook pro with 250 gig hard disk. I am able to boot to Fedora 8 in the native mode, but not via parallels (boot camp option). When I try to boot Fedora 8 using parallels I get the following error in the grub.

    Error 18: Selected cylinder exceeds maximum supported by BIOS.

    Here is my .pvs file

    deepan-chakravarthys-macbook-pro:Desktop deepan$ cat My\ Boot\ Camp.pvs
    [System]
    App Version = 3.0.5584
    Boot = c
    Parallels VM Name = My Boot Camp
    VM Id = {c5f61283-3bf2-4c53-95cf-fbccaa534c97}
    VM Description =
    OS Type = 149
    Memory = 512
    Video Memory = 16
    Memory block size = 14
    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
    Seamless Startup = 0
    Application Doc Icon = 1
    Multi frame = -1
    Guest Tools Status = -1
    Undo Disks = 0
    Undo Disk Uuid = {00000000-0000-0000-0000-000000000000}
    DirectX Shaders support = 0
    [Shared folders]
    Shared folders enabled = 1
    Sharing enabled = 2
    Map folders to drive = 1
    Shared folders count = 0
    [Shared Profiles]
    Shared Profiles enabled = 0
    Shared Profiles use desktop = 1
    Shared Profiles use documents = 1
    Shared Profiles use pictures = 1
    Shared Profiles use music = 1
    [Windows sharing]
    Windows sharing enabled = 1
    AutoMount enabled = 1
    Spotlight processing enabled = 0
    [Video]
    Video resolutions enabled = 1
    Video resolutions count = 0
    [Coherence]
    Show taskbar = 1
    Show taskbar in Coherence = 1
    Relocate taskbar = 0
    Exclude Dock = 1
    Multiple displays = 0
    Group all windows = 0
    Disable drop shadow = 0
    Remove Wallpaper = 0
    Do Not Minimize to doc = 0
    Bring to front = 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 = 16
    Disk 0:0 sectors = 63
    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 = 1
    Floppy 0 = 1
    Floppy 0 image = /Library/Parallels/Tools/vmtools.fdd
    Floppy 0 connected = 0
    [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 = 001c4215349c
    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



    Here is the output for "diskutil list"
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *232.9 Gi disk0
    1: EFI 200.0 Mi disk0s1
    2: Apple_HFS Macintosh HD 151.9 Gi disk0s2
    3: EFI 10.0 Gi disk0s3
    4: Linux Swap 2.0 Gi disk0s4
    5: Microsoft Basic Data 68.8 Gi disk0s5



    I also tried editing
    Disk 0:0 image = Boot Camp;disk0s3
    to
    Disk 0:0 image = Boot Camp;disk0s3;disk0s4
    ..
    but it did not help. I got the same error.

    Regards
    Deepan
     
  2. will_

    will_ Bit poster

    Messages:
    2
    I'm having the same problem. I'm running a triple-boot MacOS / Ubuntu / Vista setup on a 320GB disk and was able to boot into all three natively (using rEFIt) but attempting to boot the Ubuntu partition through Parallels yielded the Grub 18 error.

    Details follow:

    ----

    Apple MacBook C2D 2.16GHz
    320GB disk
    2.5GB RAM
    Mac OS X 10.4.11
    Ubuntu 8.04 Hardy Heron
    Windows Vista Home Premium

    ----

    I detailed my installation procedure for future reference:

    Backup to external Firewire disk
    -- mine was already setup as a RAID mirror of the internal disk but other utilities should do just as well
    Use DiskUtility from the MacOSX CD to partition the disk
    -- MacOS rest of disk (263GB)
    -- Linux 15GB
    -- Windows 20GB
    Install MacOS onto the MacOS partition
    Install Windwos onto the Windows partition
    Install Ubuntu onto the Linux partition
    -- manual configuration of partitions
    -- use Linux partition as ext3 mountpoint /
    -- no swap partition
    -- install grub on the Linux partition, NOT on the whole disk
    Install rEFIt using the Mac disk image method and sync partition maps
    Test booting into all three operating systems
    Download and apply updates to MacOS
    Use the Migration Assistant to import user data from external disk
    Re-install Parallels (it broke)
    -- Create a virtual machine (if you don't already have one) using the Boot Camp partition (it will fail)
    -- Use diskutil list to find the Linux partition (mine was disk0s3)
    -- Edit the virtual machine configuration (.pvs) file, changing "Disk 0:0 image = Boot Camp" to "Disk 0:0 image = Boot Camp;disk0s3" (caused Grub 18 error)
    -- Edit the virtual machine configuration (.pvs) file, changing "Disk 0:0 image = Boot Camp" to "Disk 0:0 image = Boot Camp;disk0s4;disk0s3" (claimed to fix Grub error but didn't)

    ----

    DiskUtil report:

    $ diskutil list
    /dev/disk0
    #: type name size identifier
    0: GUID_partition_scheme *298.1 GB disk0
    1: EFI 200.0 MB disk0s1
    2: Apple_HFS MacOS 263.0 GB disk0s2
    3: Microsoft Basic Data 15.0 GB disk0s3
    4: Microsoft Basic Data Untitled 19.8 GB disk0s4

    ----

    rEFIT partition manager report:

    *** Report for internal hard disk ***

    Current GPT partition table:
    # Start LBA End LBA Type
    1 40 409639 EFI System (FAT)
    2 409640 551889623 Mac OS X HFS+
    3 552151768 583609047 Basic Data
    4 583609048 625142407 Basic Data

    Current MBR partition table:
    # A Start LBA End LBA Type
    1 1 409639 ee EFI Protective
    2 409640 551889623 af Mac OS X HFS+
    3 * 552151768 583609047 83 Linux
    4 583609048 625142407 07 NTFS/HPFS

    MBR contents:
    Boot Code: Unknown, but bootable

    Partition at LBA 40:
    Boot Code: None (Non-system disk message)
    File System: FAT32
    Listed in GPT as partition 1, type EFI System (FAT)

    Partition at LBA 409640:
    Boot Code: None
    File System: HFS Extended (HFS+)
    Listed in GPT as partition 2, type Mac OS X HFS+
    Listed in MBR as partition 2, type af Mac OS X HFS+

    Partition at LBA 552151768:
    Boot Code: GRUB
    File System: ext3
    Listed in GPT as partition 3, type Basic Data
    Listed in MBR as partition 3, type 83 Linux, active

    Partition at LBA 583609048:
    Boot Code: Windows BOOTMGR (Vista)
    File System: NTFS
    Listed in GPT as partition 4, type Basic Data
    Listed in MBR as partition 4, type 07 NTFS/HPFS

    ----

    Virtual machine configuration (.pvs) file

    [System]
    App Version = 3.0.5584
    Boot = c
    Parallels VM Name = Ubuntu
    VM Id = {b15e1bfb-c73e-4ba2-af3b-xxxxxxxxxxxx}
    VM Description =
    OS Type = 154
    Memory = 512
    Video Memory = 16
    Memory block size = 14
    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
    Seamless Startup = 0
    Application Doc Icon = 1
    Multi frame = -1
    Guest Tools Status = -1
    Undo Disks = 0
    Undo Disk Uuid = {00000000-0000-0000-0000-000000000000}
    DirectX Shaders support = 0
    [Shared folders]
    Shared folders enabled = 1
    Sharing enabled = 2
    Map folders to drive = 1
    Shared folders count = 0
    [Shared Profiles]
    Shared Profiles enabled = 0
    Shared Profiles use desktop = 1
    Shared Profiles use documents = 1
    Shared Profiles use pictures = 1
    Shared Profiles use music = 1
    [Windows sharing]
    Windows sharing enabled = 1
    AutoMount enabled = 1
    Spotlight processing enabled = 0
    [Video]
    Video resolutions enabled = 1
    Video resolutions count = 0
    [Coherence]
    Show taskbar = 1
    Show taskbar in Coherence = 1
    Relocate taskbar = 0
    Exclude Dock = 1
    Multiple displays = 0
    Group all windows = 0
    Disable drop shadow = 0
    Remove Wallpaper = 0
    Do Not Minimize to doc = 0
    Bring to front = 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;disk0s4;disk0s3
    Disk 0:0 cylinders = 0
    Disk 0:0 heads = 16
    Disk 0:0 sectors = 63
    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 = 1
    Floppy 0 = 1
    Floppy 0 image = /Library/Parallels/Tools/vmtools.fdd
    Floppy 0 connected = 0
    [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 = 1
    Network connected = 1
    Adapter No = 2
    Adapter name = en1: AirPort/Wireless Adapter
    Adapter type = 4
    Port = 0x00000300
    IRQ = 3
    MAC address = 001c426b59cd
    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
     
    Last edited: Apr 27, 2008
  3. will_

    will_ Bit poster

    Messages:
    2
    Might it help if I started again with the Ubuntu partition at the front of the disk? My partition map would then look like this:

    -- Linux 15GB
    -- MacOS 263GB
    -- Windows 20GB
     

Share This Page