Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried installing LinuxMint on one of my pc's. Chose to install mint alongside windows 7. Gave permission to move partitions. I have a 500GB external hard drive plugged in that the installer could see. All seemed to go fine until I restarted "to make the changes permanent". Screen went to terminal and shows these messages:
Quote:
BIOS data incorrect. CPUID=00000F29
Then follows a listing of PCI devices, and
Quote:
error: no such device: 01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4.
Screen went to <grub rescue>. The command ls results in
BIOS data incorrect. CPUID=00000F29 wrong cpu you trying to put a 64 bit on a 32 bit cpu
well there could be many things. not sure. I do see that grub was installed and as usual mint installer took over your computer with the crazy installer that thinks it knows more than everyone. and repartition your drive made one extended partition and a swap partitions and a root partition that is sda5 the place of your OS Mint.
for some reason it is not booting. disconnect the external and try again. Select sda5 to reinstall or put grub on And sda mbr to put the boot loader on. . if you reinstall select
sda5 for / because your windows are on sda1 and sda2 other wise known as C and D.
No, I don't think so.
Its a partitions problem. I'm looking here now http://ubuntuforums.org/showthread.php?t=1594052
Problem is, I don't know what to do next. I have these partitions (hd0,msdos5,1) etc. But now what?
Last edited by D.J.Salemink; 04-09-2014 at 07:05 AM.
Running sudo update-grub from the Mint CD won't help. You need to first mount the Mint partition on the hard drive then chroot and run some commands. Posting the bootinfoscript should give information which might have a simpler solution.
sudo mount /dev/<mint parition> /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo mount /dev/<mint parition> /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
Sorry for the delay. I had to go to my job. Here is the bootinfoscript result (6 pages!):
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 .
=> No boot loader is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
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: /bootmgr /Boot/BCD /Windows/System32/winload.exe
/ntldr /NTDETECT.COM
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
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:
sdb2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -Boot sector info:
sdb5: __________________________________________________________________________
File system: ext4
Boot sector type: -Boot sector info:
Operating System: Linux Mint 16 Petra
Boot files: /boot/grub/grub.cfg /etc/fstab
sdb6: __________________________________________________________________________
File system: swap
Boot sector type: -Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Page 1
RESULTS.txt
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 * 63 83,891,429 83,891,367 7 NTFS / exFAT /
HPFS
/dev/sda2 83,891,430 488,375,999 404,484,570 f W95 Extended (LBA)
/dev/sda5 83,891,493 488,375,999 404,484,507 7 NTFS / exFAT /
HPFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 500.1 GB, 500107861504 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773167 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 574,652,704 574,650,657 7 NTFS / exFAT /
HPFS
/dev/sdb2 574,654,462 976,771,071 402,116,610 5 Extended
/dev/sdb5 574,654,464 973,103,103 398,448,640 83 Linux
/dev/sdb6 973,105,152 976,771,071 3,665,920 82 Linux swap /
Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 5074DE0C74DDF4A6 ntfs Windows
/dev/sda5 D4002FE0002FC876 ntfs Data
/dev/sdb1 02A0EFD4A0EFCC6B ntfs Seagate
Expansion Drive
/dev/sdb5 01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4 ext4
/dev/sdb6 29d672c9-4a2c-446c-949d-8347d9c071d3 swap
/dev/sr0 iso9660 Linux Mint 16
Cinnamon 32-bit
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/mint/Windows fuseblk
(rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda5 /media/mint/Data fuseblk
(rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb1 /media/mint/Seagate Expansion Drive fuseblk
(rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb5 /media/mint/01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4 ext4
(rw,nosuid,nodev,uhelper=udisks2)
/dev/sr0 /cdrom iso9660 (ro,noatime)
=========================== sdb5/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
#
Page 2
RESULTS.txt
### 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='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5
--hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
else
search --no-floppy --fs-uuid --set=root 01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
Page 3
RESULTS.txt
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=white/black
set menu_color_highlight=black/light-gray
### 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 16 Cinnamon 32-bit, 3.11.0-12-generic (/dev/sdb5)' --class
ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5
--hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
else
search --no-floppy --fs-uuid --set=root
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
Page 4
RESULTS.txt
fi
linux /boot/vmlinuz-3.11.0-12-generic
root=UUID=01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.11.0-12-generic
}
menuentry 'Linux Mint 16 Cinnamon 32-bit, 3.11.0-12-generic (/dev/sdb5) --
recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5
--hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
else
search --no-floppy --fs-uuid --set=root
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
fi
echo 'Loading Linux 3.11.0-12-generic ...'
linux /boot/vmlinuz-3.11.0-12-generic
root=UUID=01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.11.0-12-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='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5
--hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
else
search --no-floppy --fs-uuid --set=root
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
fi
linux16/boot/memtest86+.bin
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd1,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5
--hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
else
search --no-floppy --fs-uuid --set=root
01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4
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
Page 5
RESULTS.txt
$menuentry_id_option 'osprober-chain-5074DE0C74DDF4A6' {
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 5074DE0C74DDF4A6
else
search --no-floppy --fs-uuid --set=root 5074DE0C74DDF4A6
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 ###
--------------------------------------------------------------------------------=============================== sdb5/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/sdb5 during installation
UUID=01018a0a-f3c7-4d7d-87ca-aaaf7d4727a4 / ext4
errors=remount-ro 0 1
# swap was on /dev/sdb6 during installation
UUID=29d672c9-4a2c-446c-949d-8347d9c071d3 none swap sw
0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------=================== sdb5: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-5IJVP5Iw/Tmp_Log: No such file or directory
No volume groups found
Page 6
@colorpurple21859: Bash sez Mint: no such file or directory.
And: mount point /mnt/dev does not exist.
I think Drakeo had a point though when he talked about the external hard drive. It was plugged in during install & it appropriated a lot of space in there. (I used it as backup). If nothing else works I'll unplug it and try to boot. Also I can try to erase everything on it and redo the install manually, or let the installer do it but w/out the external HDD plugged in.
But now it's getting late here (midnight), so I'm going to thank everybody for posting so far and end for the day.
You have Grub installed on the master boot record of sda, the first/windows drive. It seems to be looking for the Mint partition on that same drive and it is not there as you know. That is where the error: no such device comes in. If you look at the blkid output in the bootinfoscript, you can see that uuid is sdb5, the Mint partition.
Use the commands posted above by colorpurple. Where he shows <mint partition> in the commands, replace that with sdb5. I don't know where you want to install grub. If you want it on the Mint drive, change the grub-install commands to sdb. If you do this, you will need to select the Mint drive on boot each time from the BIOS. If you want it on the windows partition, use it as is. You need to prefix the isntall commands with sudo.
mint@mint ~ $ sudo mount /dev/sdb5 /mnt
mint@mint ~ $ sudo mount --bind /dev /mnt/dev
mint@mint ~ $ sudo mount --bind /dev/pts /mnt/dev/pts
mint@mint ~ $ sudo mount --bind /proc /mnt/proc
mint@mint ~ $ sudo mount --bind /sys /mnt/sys
mint@mint ~ $ sudo chroot /mnt
mint / # sudo mount /dev/<efi boot partition> /boot/efi
bash: efi: No such file or directory
mint / # sudo grub-install /dev/sda
sudo: unable to resolve host mint
Installation finished. No error reported.
mint / # sudo grub-install --recheck /dev/sda
sudo: unable to resolve host mint
Installation finished. No error reported.
mint / # sudo update-grub
sudo: unable to resolve host mint
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
Found memtest86+ image: /boot/memtest86+.bin
No volume groups found
Found Windows 7 (loader) on /dev/sda1
done
mint / # exit && sudo umount /mnt/dev && sudo umount /mnt/dev/pts && sudo umountexit
mint@mint ~ $
It looks alright, but it's the 2nd time I did it. Booted w/out disc in the tray and saw no effect. Screen went back to grub rescue. So here goes 2nd time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.