LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 12-24-2012, 01:19 PM   #1
Ben Barrett
LQ Newbie
 
Registered: Dec 2012
Posts: 4

Rep: Reputation: Disabled
Computer No Longer Boots Any Operating System


Hello there. I recently purchased an ASUS K55A-DH51. It came with a 750GB hard drive with two partitions, one containing the Windows 8 operating system and the other completely blank. You can find the product page here. I thought it would be safe to install the latest version of Fedora on the blank partition. I thought I could run the operating systems side-by-side, which is usually pretty easy to pull off with Linux. I downloaded the Network Install CD and installed Linux on the blank partition and went to boot my computer, only to find out that not only will the hard drive no longer boot either operating system, it doesn't even show as a boot option on the BIOS setup screen. It has completely vanished. It still shows the hard drive on the main hardware page, along with the DVD-R drive, but it isn't shown as a boot option. Did something go wrong when the Linux installation wrote to the Master Boot Record? Is there a way to restore functionality so that I can boot Windows again? This installation was never meant to replace Windows, as I need my Windows installation and didn't think of making a backup disc before doing this. Therefore, if I can either get the dual partitions to work together or at least get the hard drive functioning again so that I can boot up Windows again it would be a big relief. I've had this computer about two weeks. I hope I haven't destroyed it already.

Also, I ran fdisk on it and these are the results I came up with:

Quote:
[liveuser@localhost ~]$ sudo fdisk -l

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

liveuser is not in the sudoers file. This incident will be reported.
[liveuser@localhost ~]$ su root
[root@localhost liveuser]# sudo fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xcc1ad6d4

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1465149167 732574583+ ee GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/mapper/vg_ben-lv_swap: 8287 MB, 8287944704 bytes
255 heads, 63 sectors/track, 1007 cylinders, total 16187392 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/vg_ben-lv_home: 361.4 GB, 361381232640 bytes
255 heads, 63 sectors/track, 43935 cylinders, total 705822720 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/vg_ben-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mapper/live-rw: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders, total 8388608 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 /dev/mapper/live-osimg-min: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders, total 8388608 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
Thanks for your help.

-Ben

Last edited by Ben Barrett; 12-24-2012 at 01:21 PM.
 
Old 12-24-2012, 03:25 PM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,826

Rep: Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748
Quote:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted
If you are using the Fedora CD, boot it, open a terminal and log in as root user and type: gparted. I believe Fedora has GParted on the installation CD, I don't use Fedora so can't be sure. Take a look at the output and see if it differs from the fdisk output or post it here. Windows 8 pre-installed on a computer will have a feature called 'Secure Boot' which, if my understanding is correct, needs to be disabled in order to boot a Linux installation. I would suggest to start that you use the Search function here at LQ to look for threads including "secure boot, windows 8, GPT and UEFI".

The output from fdisk seems to show only Linux partitions. I see on the link you supplied that no installation or recovery disk was supplied. Did you create a recovery disk when you intially booted windows 8?
 
Old 12-24-2012, 06:47 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,273

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
I didn't even know Fedora had a Network install. That looks like a live CD, so do that display as "parted -l" (as root/sudo).

Hopefully you purchased a system that had Win8 installed, rather than as "Certified for Win8". That way you won't be hampered by the SecureBoot stupidity.
I'd be concerned you did a "full disk" install (the default I think these days), which wipes everything, and reformats the disk as gpt.
I hope I'm wrong.
 
Old 12-25-2012, 08:01 PM   #4
Ben Barrett
LQ Newbie
 
Registered: Dec 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Hopefully you purchased a system that had Win8 installed, rather than as "Certified for Win8". That way you won't be hampered by the SecureBoot stupidity.
I'd be concerned you did a "full disk" install (the default I think these days), which wipes everything, and reformats the disk as gpt.
I hope I'm wrong.
I think you are wrong. I specifically set up the partitions in such a way that nothing from my Windows installation got erased. Plus, I can still see the Windows partitions in the Fedora file browser and in GParted. Here's the GParted output:

Quote:
[liveuser@localhost ~]$ su root
[root@localhost liveuser]# gparted
bash: gparted: command not found...
Similar command is: 'parted'
[root@localhost liveuser]# parted -l
Model: ATA WDC WD7500BPVT-8 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot

Number Start End Size File system Name Flags
1 1049kB 316MB 315MB fat32 EFI system partition boot
2 316MB 945MB 629MB ntfs Basic data partition hidden, diag
3 945MB 1079MB 134MB Microsoft reserved partition msftres
4 1079MB 301GB 300GB ntfs Basic data partition
5 301GB 305GB 3642MB ntfs Basic data partition
7 305GB 305GB 1049kB bios_grub
8 305GB 305GB 524MB ext4
9 305GB 729GB 423GB lvm
6 729GB 750GB 21.5GB ntfs Basic data partition hidden, diag


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg-lv_root: 53.7GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 53.7GB 53.7GB ext4


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg-lv_swap: 8288MB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 8288MB 8288MB linux-swap(v1)


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg-lv_home: 361GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 361GB 361GB ext4


Model: Linux device-mapper (snapshot) (dm)
Disk /dev/mapper/live-osimg-min: 4295MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 4295MB 4295MB ext4


Model: Linux device-mapper (snapshot) (dm)
Disk /dev/mapper/live-rw: 4295MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 4295MB 4295MB ext4


Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: The partition's data region doesn't occupy the entire partition.
Ignore/Cancel? ignore
Error: Can't have overlapping partitions.
Model: Slimtype DVD A DS8A8SH (scsi)
Disk /dev/sr0: 676MB
Sector size (logical/physical): 2048B/2048B
Partition Table: unknown
Disk Flags:

[root@localhost liveuser]#
And no, I didn't create a recovery disk when I first booted Windows. I didn't have any blank DVDs to burn the image to, so I never created the backup disk. I wish I had now, but hindsight is 20/20 they say. Is there any hope for this situation or did I royally bone myself?

-Ben
 
Old 12-25-2012, 11:54 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,273

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
Quote:
Originally Posted by Ben Barrett View Post
I think you are wrong. I specifically set up the partitions in such a way that nothing from my Windows installation got erased.
Glad to hear it - always happy to be proved wrong in such a case.

Looks o.k. to me, although I haven't done any testing on gpt. Keep saying I should get around to it ...
Grub2 would have (probably) created that bios_grub partition for its core.img.
@yancek may be correct - do you have a secureboot option in the BIOS - as in, can you turn it off ?. That way you'll be able to see if the BIOS will boot Fedora o.k.

Other than I can't help - lack of experience with this.
 
Old 12-26-2012, 07:25 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,530

Rep: Reputation: 238Reputation: 238Reputation: 238
I tried to make windows recovery disks when I first got my laptop. But it whined about not having CDR medium, even though I did have CDRW medium. Needless to say windows no longer exists on that machine. Nor does much else for that matter as the hard drive no longer functions and it's a 6yo+ laptop. But it's running linux off of a USB stick, with a quirky way of booting it from a grub boot cd.

From liveCD / liveDVD

# cat /proc/partitions
# sfdisk -l /dev/sda
(and whatever other devices apply)
(fdisk and cfdisk are options if sfdisk isn't there on a live linux)

On your previously listed list I only saw one partition entry for /dev/sda which probably does not bode well for you. There's a fine line when installing some distros, as install to partition and USE ENTIRE DISK is just a misclick away and the default in most cases. If you change partitioning, sometimes you have to reboot to have those changes update and become usable. There's partprobe in linux to sometimes bypass that need (part of the parted package in debian).
 
Old 12-26-2012, 11:06 AM   #7
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,826

Rep: Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748
Your "parted -l" output above shows partitions 1-6 as windows partitions so it would appear windows is still there. I expect it has something to do with secure boot option as suggested above.
 
Old 12-26-2012, 09:35 PM   #8
Ben Barrett
LQ Newbie
 
Registered: Dec 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Windows is still definitely there. I'm including with this post two screeshots taken showing the file system. As you can see in these pictures, not only is the Windows partition still there, but there are also RESTORE and RECOVERY partitions as well. It would be nice if I could access these partitions, but the computer doesn't even recognize that the hard drive is there anymore. I tried disabling the Secure Boot by using the option in the BIOS. Secure Boot is turned off, but I still can't get the computer to boot from the hard drive. I even tried setting up the boot option manually. I don't have any idea how to properly do that, so it was no surprise to me when it didn't work. I set up the boot option to point to "/dev/sda" and it did nothing. It was worth a shot. In any case, if anyone has any other ideas, I'm willing to try anything to get my computer working again.

-Ben
Attached Images
File Type: jpg Screenshot from 2012-12-26 14:58:27.jpg (70.2 KB, 8 views)
File Type: jpg Screenshot from 2012-12-26 14:59:49.jpg (88.3 KB, 8 views)
 
Old 12-26-2012, 11:02 PM   #9
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,826

Rep: Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748Reputation: 748
You might boot up the Fedora CD and go to the site below. Read the instructions in the link in the Description box, download it, run it and post the output here. It will give details on your boot files and hopefully someone familiar with EFI and Secure boot will be able to help.

http://sourceforge.net/projects/bootinfoscript/
 
Old 12-27-2012, 09:01 AM   #10
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
You should have a small FAT partition with structure /EFI/BOOT/bootx64.efi. This is what Windows will be using to boot from. Can you check that you have that? Is there a similar set up in the recovery partition?
 
Old 12-27-2012, 04:13 PM   #11
Ben Barrett
LQ Newbie
 
Registered: Dec 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by arubin View Post
You should have a small FAT partition with structure /EFI/BOOT/bootx64.efi. This is what Windows will be using to boot from. Can you check that you have that? Is there a similar set up in the recovery partition?
I do indeed have a small FAT partition, though it is hidden so I cannot access it. It is listed in my "parted" lists and I see it listed when I use fdisk, so I'm assuming that this is the partition you speak of. I checked my recovery partition, and the folder was there just like you said. What's the next step?

I also downloaded and ran that program that you guys pointed out to me and I'll post the results below. You may notice a difference between the earlier lists and this one. The "bios_grub" partition is no longer there. I think I may have accidentally erased it while trying to fix the problem myself. It's not there, yet it hasn't made the slightest impact on my computer. It still does the same thing.

One other thing. I tried to fix the computer by paying Microsoft for a Windows 8 disc image, which I burned to DVD and tried to run the repair programs. The repair function doesn't work, generates an error, and none of the recovery or rescue options work. So I tried to use it to do a fresh install of Windows, but it also generated an error and told me the product key I was trying to use was invalid, even though I hadn't entered a product key yet. I only pushed the INSTALL button. Very strange.

In any case, when I have the new Windows DVD in the disc drive and don't allow it to boot to Windows Setup, it allows the GRUB loader to load normally, which allows me to get into my Linux installation without the use of Live Media. This is an improvement, but I still can't boot my Windows from it, even though the option is there. When I select Windows or the Windows rescue option in GRUB, the screen goes black like it looks like it wants to load, then it generates an error that it's missing a file called "BOOT\BCD". The weird thing is that I have that file. The BOOT folder is located on the Windows partition, and there are several files like BCD, BCD.LOG, BCD.LOG1, etc. located in the folder.

Anyway, if anyone can do something with this information, I would be eternally grateful. You'll find below the results of "bootinfoscript". Thanks!
Quote:
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
595277824 of the same hard drive for core.img. core.img is at this
location and looks in partition 99 for .

sda1: __________________________________________________________________________

File system: vfat
Boot sector type: Unknown
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bootx64.efi

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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 /Windows/System32/winload.exe

sda5: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: According to the info in the boot sector, sda5 has
6783192 sectors, but according to the info from fdisk,
it has 7112703 sectors.
Operating System:
Boot files:

sda6: __________________________________________________________________________

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:

sda8: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub2/grub.cfg

sda9: __________________________________________________________________________

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

vg-lv_swap': ___________________________________________________________________

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

vg-lv_home': ___________________________________________________________________

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

vg-lv_root': ___________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 1 1,465,149,167 1,465,149,167 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 616,447 614,400 EFI System partition
/dev/sda2 616,448 1,845,247 1,228,800 Windows Recovery Environment (Windows)
/dev/sda3 1,845,248 2,107,391 262,144 Microsoft Reserved Partition (Windows)
/dev/sda4 2,107,392 588,165,119 586,057,728 Data partition (Windows/Linux)
/dev/sda5 588,165,120 595,277,823 7,112,704 Data partition (Windows/Linux)
/dev/sda6 1,423,204,352 1,465,147,391 41,943,040 Windows Recovery Environment (Windows)
/dev/sda8 595,279,872 596,303,871 1,024,000 Data partition (Windows/Linux)
/dev/sda9 596,303,872 1,423,204,351 826,900,480 Logical Volume Manager (LVM) partition (Linux)

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/mapper/vg-lv_home b839e9c4-f621-4579-a63e-a8a4b5650a3c ext4
/dev/mapper/vg-lv_root 0b145697-e6c5-4e8e-8116-6bf69da65755 ext4 _Fedora-17-x86_6
/dev/mapper/vg-lv_swap 36f7b567-a153-45e7-9de6-7f10dcd5423d swap
/dev/sda1 682C-71F7 vfat SYSTEM
/dev/sda2 E0D079B8D079958E ntfs Recovery
/dev/sda4 8498A1B098A1A0E2 ntfs OS
/dev/sda5 1A9C8F589C8F2D77 ntfs DATA
/dev/sda6 5694837994835A7F ntfs Restore
/dev/sda8 34767c7e-a0a5-46ac-8ec8-dd23b26a9949 ext4
/dev/sda9 FwuCZJ-RZBI-fVcA-iXwE-xHU3-n9Vy-BiByjL LVM2_member
/dev/sr0 udf ESD-ISO

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
vg-lv_home
vg-lv_root
vg-lv_swap

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

Device Mount_Point Type Options

/dev/mapper/vg-lv_home /home ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/mapper/vg-lv_root / ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=ordered)
/dev/sda2 /run/media/Ben/Recovery fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda4 /run/media/Ben/OS fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda5 /run/media/Ben/DATA fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda8 /boot ext4 (rw,relatime,seclabel,user_xattr,barrier=1,stripe=4,data=ordered)
/dev/sr0 /run/media/Ben/ESD-ISO udf (ro,nosuid,nodev,relatime,uid=1000,gid=1000,umask=77,iocharset=utf8,uhelper=udisks2)


============================= sda8/grub2/grub.cfg: =============================

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

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

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 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_gpt
insmod lvm
insmod ext2
set root='lvm/vg-lv_root'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvm/vg-lv_root' 0b145697-e6c5-4e8e-8116-6bf69da65755
else
search --no-floppy --fs-uuid --set=root 0b145697-e6c5-4e8e-8116-6bf69da65755
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
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora Linux' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0b145697-e6c5-4e8e-8116-6bf69da65755' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8' 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
else
search --no-floppy --fs-uuid --set=root 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
fi
echo 'Loading Linux 3.3.4-5.fc17.x86_64 ...'
linux /vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg-lv_root ro rd.md=0 rd.dm=0 KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.3.4-5.fc17.x86_64.img
}
submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-0b145697-e6c5-4e8e-8116-6bf69da65755' {
menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.x86_64-advanced-0b145697-e6c5-4e8e-8116-6bf69da65755' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8' 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
else
search --no-floppy --fs-uuid --set=root 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
fi
echo 'Loading Linux 3.3.4-5.fc17.x86_64 ...'
linux /vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg-lv_root ro rd.md=0 rd.dm=0 KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.3.4-5.fc17.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64 (recovery mode)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.x86_64-recovery-0b145697-e6c5-4e8e-8116-6bf69da65755' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 --hint='hd0,gpt8' 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
else
search --no-floppy --fs-uuid --set=root 34767c7e-a0a5-46ac-8ec8-dd23b26a9949
fi
echo 'Loading Linux 3.3.4-5.fc17.x86_64 ...'
linux /vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg-lv_root ro single rd.md=0 rd.dm=0 KEYTABLE=us SYSFONT=True rd.lvm.lv=vg/lv_root rd.luks=0 rd.lvm.lv=vg/lv_swap LANG=en_US.UTF-8 rhgb quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-3.3.4-5.fc17.x86_64.img
}
}
if [ "x$default" = 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64' ]; then default='Advanced options for Fedora Linux>Fedora Linux, with Linux 3.3.4-5.fc17.x86_64'; fi;
### END /etc/grub.d/10_linux ###

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

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

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-E0D079B8D079958E' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd0,gpt2' E0D079B8D079958E
else
search --no-floppy --fs-uuid --set=root E0D079B8D079958E
fi
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-8498A1B098A1A0E2' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 --hint='hd0,gpt4' 8498A1B098A1A0E2
else
search --no-floppy --fs-uuid --set=root 8498A1B098A1A0E2
fi
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### 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 $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)

283.876667976 = 304.810251264 grub2/grub.cfg 1
283.889320374 = 304.823836672 initramfs-3.3.4-5.fc17.x86_64.img 2
283.864131927 = 304.796790784 vmlinuz-3.3.4-5.fc17.x86_64 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda1

00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 5e 1b |.X.MSDOS5.0...^.|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
00000020 00 60 09 00 51 02 00 00 00 00 00 00 02 00 00 00 |.`..Q...........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 80 00 29 f7 71 2c 68 4e 4f 20 4e 41 4d 45 20 20 |..).q,hNO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|.V@.N..V|
00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |.t.....f@Iu..BOO|
00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
00000200

Unknown BootLoader on vg-lv_swap'


Unknown BootLoader on vg-lv_home'


Unknown BootLoader on vg-lv_root'



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

One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg-lv_swap': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg-lv_swap': No such file or directory
hexdump: /dev/mapper/vg-lv_swap': Bad file descriptor
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg-lv_home': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg-lv_home': No such file or directory
hexdump: /dev/mapper/vg-lv_home': Bad file descriptor
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg-lv_root': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg-lv_root': No such file or directory
hexdump: /dev/mapper/vg-lv_root': Bad file descriptor
mdadm: No arrays found in config file or automatically
 
Old 12-27-2012, 04:42 PM   #12
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
So sda1 is supposed to be your efi boot partition and contains the file /efi/Boot/bootx64.efi which is supposed to boot windows. I assume you have a similar file in sda2, the recovery partition.

I don't know why you cannot access sda1. Just su to root and create a mount point

Quote:
mkdir /mnt/sda1
and mount the partition there with

Quote:
mount /dev/sda1 -t vfat /mnt/sda1
and you should be able inspect it but you have have to do this all as root.
 
Old 12-27-2012, 05:23 PM   #13
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
What I am considering here is the possibility that /efi/Boot/bootx64.efi in sda1 has been messed up or replaced by something else.

On my system which is a Windows 7 dual boot there is an identical file to /efi/Boot/bootx64.efi which is /efi/Microsoft/Boot/bootmgfw.efi and I assume that this is some sort of backup.
 
Old 01-04-2013, 02:02 PM   #14
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,530

Rep: Reputation: 238Reputation: 238Reputation: 238
Secure boot, how ugly.

http://www.omgubuntu.co.uk/2012/09/u...or-secure-boot

https://fedoraproject.org/wiki/Secureboot

http://forums.opensuse.org/english/g...e-win-8-a.html

It looks like you need a special version of grub called grub-efi (v1.99?) or a special lilo called elilo to do this booting thing now. If that's not your point of departure you're probably wasting a lot of time. As in I hope you didn't install a linux version that's more than six months old.

https://help.ubuntu.com/community/UEFIBooting
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS installation on a new computer without operating system csz86 Linux - General 12 02-24-2011 09:06 PM
changed bios to USB hard drive as #1 option - boots "Missing operating system" Elendrael Linux - Newbie 4 09-12-2007 08:48 PM
LXer: Linux a computer operating system for the people LXer Syndicated Linux News 0 11-03-2006 05:03 PM
System no longer boots to graphical login will103 Debian 3 01-08-2005 03:56 PM
My system on longer boots... teeno Linux - Software 4 05-28-2003 02:17 AM


All times are GMT -5. The time now is 11:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration