Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15
Sorry for the delay but I was messing around with it and decided that I would install mint on my laptop so that it would create a usable MBR for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jun 2013
    Posts
    30

    Sorry for the delay but I was messing around with it and decided that I would install mint on my laptop so that it would create a usable MBR for both OSes. It worked and I can now load both of the OSes.

    Now please correct me if i am wrong, I am still very new to Linux, but the fact that I would need a MBR to tell the computer where the partitions are located I am going to have to set one up for both my hard drive and my flash drive. If this is the case I need to know how exactly I can configure my flash drive without involving my hard drive.

    If you still need the output I can get it but I have solved my MBR problem on my main hard drive for the moment.

  2. #12
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,105
    If you have installed Mint to the mbr of your laptop hard drive and boot your Mint and windows with it, you can plug in the Mint flash drive (if you have it installed correctly) and run sudo update-grub from a terminal in the lapto Mint. If the boot files are in the correct place on the flash, they should be detected and another menuentry for the flash should appear on your boot menu.

    If you want to boot Mint from an installation on the flash when you select the flash and set it to first boot priority in the BIOS, you would need to install Grub to the mbr of the flash drive. If this is done correctly, you should be able to boot it from other systems but there is no guarantee there will not be problems unless the hardware on both is close to identical. You can ascertain which drive is your flash by booting Mint with the flash drive you want to install to attached and running from a terminal: sudo fdisk -l. (Lower case Letter L in the command. You should see something similar to the output below:

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x1549f232

    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS
    /dev/sda2 208845 82959659 41375407+ 7 HPFS/NTFS
    /dev/sda3 599898112 625139711 12620800 7 HPFS/NTFS
    /dev/sda4 82959721 599898111 258469195+ 5 Extended
    /dev/sda5 82959723 123282809 20161543+ 83 Linux
    /dev/sda6 123282873 127090214 1903671 82 Linux swap / Solaris

    Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525167 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x0003b100

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 2048 7903979 3950966 7 HPFS/NTFS
    /dev/sdb2 7903980 253682414 122889217+ 83 Linux
    /dev/sdb3 253682415 460535354 103426470 83 Linux
    The output above shows a 320GB drive with 6 partitions and a 1TB drive with 3 partitions. You should be able to tell which drive you want as the flash should be much smaller. If you have only one hard drive in the laptop and the flash attached, the flash will likely be sdb with partitions as sdb1, sdb2, etc. If you are using another flash drive to install, it may be sdc, etc. If you are not certain, run the fdisk command and post the output and someone should be able to advise you.

  3. #13
    Just Joined!
    Join Date
    Jun 2013
    Posts
    30
    Ok so I was able to run both of the commands and got the following outputs:

    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.8.0-19-generic
    Found initrd image: /boot/initrd.img-3.8.0-19-generic
    Found memtest86+ image: /boot/memtest86+.bin
    No volume groups found
    Found Windows 7 (loader) on /dev/sda1
    Found Linux Mint 15 Olivia (15) on /dev/sdb1
    Found Windows Recovery Environment (loader) on /dev/sdc1
    done



    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000d74c4

    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
    /dev/sda2 206848 345726851 172760002 7 HPFS/NTFS/exFAT
    /dev/sda3 345726974 625141759 139707393 5 Extended
    /dev/sda5 345726976 511014911 82643968 83 Linux
    /dev/sda6 617582592 625141759 3779584 82 Linux swap / Solaris
    /dev/sda7 511016960 617580543 53281792 b W95 FAT32

    Partition table entries are not in disk order

    Disk /dev/sdb: 15.8 GB, 15804137472 bytes
    64 heads, 32 sectors/track, 15072 cylinders, total 30867456 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000f20f0

    Device Boot Start End Blocks Id System
    /dev/sdb1 2048 10386813 5192383 83 Linux
    /dev/sdb2 10387456 19091455 4352000 82 Linux swap / Solaris
    /dev/sdb3 19091456 23187455 2048000 83 Linux
    /dev/sdb4 23187456 30867455 3840000 83 Linux

    Disk /dev/sdc: 16.0 GB, 16039018496 bytes
    255 heads, 63 sectors/track, 1949 cylinders, total 31326208 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000238


    Now when I try and boot from my flash drive I still just get a blinking cursor but when when I boot from my hard drive it gives me a new option for my flash drives OS. The only problem is that when I select it I still get this error:

    The problem is that when I choose mint it starts loading and then I get this error.

    Gave up waiting for root device. Common problems:
    -boot args (cat /proc/cmdline)
    -Check rootdelay= (did system wait long enough)
    -Check root= (Did the system wait for right device)
    -Missing modules (cat /proc/modules: is /dev)
    ALERT! /dev/sdc1 does not exist. Dropping to a shell!


    BuyBox v1.20.2 (Ubuntu 1:1.20.0-Bubuntu1) built-in shaell (ash)

    (initramfs) _

    Is there any way to make it so that when I select the flash drive to boot from I can get the option to start any of the OSes without anything relying on the hard drive. I want to be able to just plug it into a computer and and boot to it without having to effect any of the computers hardware or software.

  4. #14
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,105
    Found Linux Mint 15 Olivia (15) on /dev/sdb1
    The above line from your os-prober output shows Mint on sdb1. The fdisk output for /dev/sdb shows sdb1 as a Linux partition. The line below which you posted as the boot error shows it is looking for files on sdc1, not sdb1.

    ALERT! /dev/sdc1 does not exist. Dropping to a shell!
    You might be able to resolve this by booting Mint on the laptop with the flash drives still plugged, at least sdb and running: sudo grub-install /dev/sdb. Before doing this, I would suggest that you run fdisk again to make sure nothing has changed because if you have other dirves plugged in, it can change. Best would be to run the bootinfoscript and post it as it provides a lot more detail.

  5. #15
    Just Joined!
    Join Date
    Jun 2013
    Posts
    30
    Ok here is the output when I run it with my flash drive plugged in.

    Boot Info Script 0.61 [1 April 2012]


    ============================= Boot Info Summary: ===============================

    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 94 for .
    => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 94 for .

    sda1: __________________________________________________ ________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD

    sda2: __________________________________________________ ________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /Windows/System32/winload.exe

    sda3: __________________________________________________ ________________________

    File system: Extended Partition
    Boot sector type: -
    Boot sector info:

    sda5: __________________________________________________ ________________________

    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 15 Olivia
    Boot files: /boot/grub/grub.cfg /etc/fstab

    sda6: __________________________________________________ ________________________

    File system: swap
    Boot sector type: -
    Boot sector info:

    sda7: __________________________________________________ ________________________

    File system: vfat
    Boot sector type: FAT32
    Boot sector info: According to the info in the boot sector, sda7 starts
    at sector 0. But according to the info from fdisk,
    sda7 starts at sector 511016960.
    Operating System:
    Boot files:

    sdb1: __________________________________________________ ________________________

    File system: ext2
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 15 Olivia
    Boot files: /boot/grub/grub.cfg /etc/fstab

    sdb2: __________________________________________________ ________________________

    File system:
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: unknown filesystem type ''

    sdb3: __________________________________________________ ________________________

    File system: ext2
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:

    sdb4: __________________________________________________ ________________________

    File system: ext2
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:

    ============================ Drive/Partition Info: =============================

    Drive: sda __________________________________________________ ___________________

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes

    Partition Boot Start Sector End Sector # of Sectors Id System

    /dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda2 206,848 345,726,851 345,520,004 7 NTFS / exFAT / HPFS
    /dev/sda3 345,726,974 625,141,759 279,414,786 5 Extended
    /dev/sda5 345,726,976 511,014,911 165,287,936 83 Linux
    /dev/sda6 617,582,592 625,141,759 7,559,168 82 Linux swap / Solaris
    /dev/sda7 511,016,960 617,580,543 106,563,584 b W95 FAT32


    Drive: sdb __________________________________________________ ___________________

    Disk /dev/sdb: 15.8 GB, 15804137472 bytes
    64 heads, 32 sectors/track, 15072 cylinders, total 30867456 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes

    Partition Boot Start Sector End Sector # of Sectors Id System

    /dev/sdb1 2,048 10,386,813 10,384,766 83 Linux
    /dev/sdb2 10,387,456 19,091,455 8,704,000 82 Linux swap / Solaris
    /dev/sdb3 19,091,456 23,187,455 4,096,000 83 Linux
    /dev/sdb4 23,187,456 30,867,455 7,680,000 83 Linux


    "blkid" output: __________________________________________________ ______________

    Device UUID TYPE LABEL

    /dev/sda1 709A82099A81CBD2 ntfs System Reserved
    /dev/sda2 3C7099F37099B45C ntfs
    /dev/sda5 a8bc4039-7b99-4ce9-87b1-6ad2167c8267 ext4
    /dev/sda6 2950b4ef-edc5-4dd1-9537-5230410fe220 swap
    /dev/sda7 C9F3-DC49 vfat STORAGE
    /dev/sdb1 6ab1a877-ce09-4221-8e32-5f8013d161a4 ext2
    /dev/sdb3 aa63a5b8-8bf7-4261-a314-7d2e73f620c5 ext2 /home
    /dev/sdb4 af6d25be-1004-4b89-b3da-f3b4701069e7 ext2 Linux

    ================================ Mount points: =================================

    Device Mount_Point Type Options

    /dev/sda5 / ext4 (rw,errors=remount-ro)
    /dev/sdb1 /media/jared/6ab1a877-ce09-4221-8e32-5f8013d161a4 ext2 (rw,nosuid,nodev,uhelper=udisks2)
    /dev/sdb3 /media/jared/_home ext2 (rw,nosuid,nodev,uhelper=udisks2)
    /dev/sdb4 /media/jared/Linux ext2 (rw,nosuid,nodev,uhelper=udisks2)


    =========================== sda5/boot/grub/grub.cfg: ===========================

    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    set default="0"

    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi

    export menuentry_id_option

    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi

    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }

    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }

    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }

    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    else
    search --no-floppy --fs-uuid --set=root a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    fi
    font="/usr/share/grub/unicode.pf2"
    fi

    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###

    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=cyan/blue
    set menu_color_highlight=white/blue
    ### END /etc/grub.d/05_debian_theme ###

    ### BEGIN /etc/grub.d/06_mint_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=white/light-gray
    ### END /etc/grub.d/06_mint_theme ###

    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="$1"
    if [ "$1" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    }
    if [ ${recordfail} != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 15 Cinnamon 64-bit, 3.8.0-19-generic (/dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    else
    search --no-floppy --fs-uuid --set=root a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    fi
    linux /boot/vmlinuz-3.8.0-19-generic root=UUID=a8bc4039-7b99-4ce9-87b1-6ad2167c8267 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    menuentry 'Linux Mint 15 Cinnamon 64-bit, 3.8.0-19-generic (/dev/sda5) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    else
    search --no-floppy --fs-uuid --set=root a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    fi
    echo 'Loading Linux 3.8.0-19-generic ...'
    linux /boot/vmlinuz-3.8.0-19-generic root=UUID=a8bc4039-7b99-4ce9-87b1-6ad2167c8267 ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###

    ### BEGIN /etc/grub.d/20_linux_xen ###

    ### END /etc/grub.d/20_linux_xen ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    else
    search --no-floppy --fs-uuid --set=root a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    fi
    linux16 /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    else
    search --no-floppy --fs-uuid --set=root a8bc4039-7b99-4ce9-87b1-6ad2167c8267
    fi
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-709A82099A81CBD2' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 709A82099A81CBD2
    else
    search --no-floppy --fs-uuid --set=root 709A82099A81CBD2
    fi
    chainloader +1
    }
    menuentry 'Linux Mint 15 Olivia (15)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-6ab1a877-ce09-4221-8e32-5f8013d161a4' {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 6ab1a877-ce09-4221-8e32-5f8013d161a4
    else
    search --no-floppy --fs-uuid --set=root 6ab1a877-ce09-4221-8e32-5f8013d161a4
    fi
    linux /boot/vmlinuz-3.8.0-19-generic root=/dev/sdc1 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    submenu 'Advanced options for Linux Mint 15 Olivia (15)' $menuentry_id_option 'osprober-gnulinux-advanced-6ab1a877-ce09-4221-8e32-5f8013d161a4' {
    menuentry 'Linux Mint 15 Cinnamon 32-bit, 3.8.0-19-generic (/dev/sdc1) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.8.0-19-generic--6ab1a877-ce09-4221-8e32-5f8013d161a4' {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 6ab1a877-ce09-4221-8e32-5f8013d161a4
    else
    search --no-floppy --fs-uuid --set=root 6ab1a877-ce09-4221-8e32-5f8013d161a4
    fi
    linux /boot/vmlinuz-3.8.0-19-generic root=/dev/sdc1 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    menuentry 'Linux Mint 15 Cinnamon 32-bit, 3.8.0-19-generic (/dev/sdc1) -- recovery mode (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.8.0-19-generic-root=/dev/sdc1 ro recovery nomodeset-6ab1a877-ce09-4221-8e32-5f8013d161a4' {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 6ab1a877-ce09-4221-8e32-5f8013d161a4
    else
    search --no-floppy --fs-uuid --set=root 6ab1a877-ce09-4221-8e32-5f8013d161a4
    fi
    linux /boot/vmlinuz-3.8.0-19-generic root=/dev/sdc1 ro recovery nomodeset
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    }

    ### END /etc/grub.d/30_os-prober ###

    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###

    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###

    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------

    =============================== sda5/etc/fstab: ================================

    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda5 during installation
    UUID=a8bc4039-7b99-4ce9-87b1-6ad2167c8267 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda6 during installation
    UUID=2950b4ef-edc5-4dd1-9537-5230410fe220 none swap sw 0 0
    --------------------------------------------------------------------------------

    =================== sda5: Location of files loaded by Grub: ====================

    GiB - GB File Fragment(s)

    225.020034790 = 241.613422592 boot/grub/grub.cfg 1
    167.353950500 = 179.694936064 boot/initrd.img-3.8.0-19-generic 1
    204.989650726 = 220.105961472 boot/vmlinuz-3.8.0-19-generic 1
    167.353950500 = 179.694936064 initrd.img 1
    167.353950500 = 179.694936064 initrd.img.old 1
    204.989650726 = 220.105961472 vmlinuz 1

    =========================== sdb1/boot/grub/grub.cfg: ===========================

    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #

    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    set default="0"

    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi

    export menuentry_id_option

    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi

    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }

    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }

    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }

    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 6ab1a877-ce09-4221-8e32-5f8013d161a4
    else
    search --no-floppy --fs-uuid --set=root 6ab1a877-ce09-4221-8e32-5f8013d161a4
    fi
    font="/usr/share/grub/unicode.pf2"
    fi

    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###

    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=cyan/blue
    set menu_color_highlight=white/blue
    ### END /etc/grub.d/05_debian_theme ###

    ### BEGIN /etc/grub.d/06_mint_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=white/light-gray
    ### END /etc/grub.d/06_mint_theme ###

    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="$1"
    if [ "$1" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    }
    if [ ${recordfail} != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 15 Cinnamon 32-bit, 3.8.0-19-generic (/dev/sdc1)' --class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 6ab1a877-ce09-4221-8e32-5f8013d161a4
    else
    search --no-floppy --fs-uuid --set=root 6ab1a877-ce09-4221-8e32-5f8013d161a4
    fi
    linux /boot/vmlinuz-3.8.0-19-generic root=/dev/sdc1 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    menuentry 'Linux Mint 15 Cinnamon 32-bit, 3.8.0-19-generic (/dev/sdc1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 6ab1a877-ce09-4221-8e32-5f8013d161a4
    else
    search --no-floppy --fs-uuid --set=root 6ab1a877-ce09-4221-8e32-5f8013d161a4
    fi
    echo 'Loading Linux 3.8.0-19-generic ...'
    linux /boot/vmlinuz-3.8.0-19-generic root=/dev/sdc1 ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    ### END /etc/grub.d/10_linux ###

    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###

    ### BEGIN /etc/grub.d/20_linux_xen ###

    ### END /etc/grub.d/20_linux_xen ###

    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 6ab1a877-ce09-4221-8e32-5f8013d161a4
    else
    search --no-floppy --fs-uuid --set=root 6ab1a877-ce09-4221-8e32-5f8013d161a4
    fi
    linux16 /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='hd2,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 6ab1a877-ce09-4221-8e32-5f8013d161a4
    else
    search --no-floppy --fs-uuid --set=root 6ab1a877-ce09-4221-8e32-5f8013d161a4
    fi
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###

    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-709A82099A81CBD2' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 709A82099A81CBD2
    else
    search --no-floppy --fs-uuid --set=root 709A82099A81CBD2
    fi
    chainloader +1
    }
    ### END /etc/grub.d/30_os-prober ###

    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###

    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###

    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------

    =============================== sdb1/etc/fstab: ================================

    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sdc1 during installation
    UUID=6ab1a877-ce09-4221-8e32-5f8013d161a4 / ext2 errors=remount-ro 0 1
    # swap was on /dev/sdc2 during installation
    #UUID=c73731cd-6f42-4be1-bf4a-693e5acb5380 none swap sw 0 0
    /dev/mapper/cryptswap1 none swap sw 0 0
    --------------------------------------------------------------------------------

    =================== sdb1: Location of files loaded by Grub: ====================

    GiB - GB File Fragment(s)

    1.867645264 = 2.005368832 boot/grub/grub.cfg 1
    0.360118866 = 0.386674688 boot/initrd.img-3.8.0-19-generic 44
    0.222526550 = 0.238936064 boot/vmlinuz-3.8.0-19-generic 3
    0.360118866 = 0.386674688 initrd.img 44
    2.499458313 = 2.683772928 initrd.img.old 1
    0.222526550 = 0.238936064 vmlinuz 3

    =============================== StdErr Messages: ===============================

    No volume groups found

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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