[SOLVED]GRUB Dual-boot problem
Hey guys, I need some help since I haven't had any issues with GRUB until now. I've read the GRUB page on the wiki and several other sites, but I'm still not sure which method I should use.
Anyway, everything was fine yesterday, I could boot into both my Windows and Arch. Then for some reason today, I tried booting into Windows, but stated BOOTMGR is missing, press CTRL+ALT+DEL to restart. So I tried booting into Arch, which was fine. So I used the Windows CD and then used Startup Repair to fix Windows, but unfortunately it didn't work. I then typed bootrec /fixmbr (which was typed impulsively, since I use that whenever I uninstall Linux). Anyway, that makes Windows overwrite to the MBR, so after booting my laptop it goes straight to Windows.
So I was wondering whether to use the method where you have to use chroot, the method you can just use grub> find /grub/stage1 and install to MBR, or just run through the Arch install CD and skip everything except installing the bootloader and rebooting.
Replies are appreciated, thanks in advance.
EDIT: Solved it. I booted in the Arch Linux install CD and followed the instructions on the wiki. I switched to the grub shell and used
grub> find /grub/stage1
for use in root. It displayed (hd0,6), so I then used
grub> root (hd0,6)
. Lastly I used
grub> setup (hd0)
to install GRUB to the MBR. It works perfectly again.
Last edited by Reki (2011-11-27 14:31:23)
I know exactly what the problem is.
If you're using rEFIt, sync your partition tables (should be the menu item called 'Partitioning Tool'). The problem is that GRUB has been installed, but doesn't know where to find the Arch partition.
After syncing, you may find that the boot process hangs at the Linux logo on a gray background. No worries — just reboot and the problem should fix itself.
N.B. You will need to do a partition table sync every time you change your hard drive's layout.
Similar Messages
-
Uninstall Linux and Grub dual boot from Win7 HP dm4..
uninstall Linux and Grub dual boot from Win7 HP dm4. I only have recovery disks. I just want to do a Startup Repair not a full system recovery.
When I reboot with the recovery disk there is no choice for Startup Repair.
thank you for any help.
Blue JacketHello bluecape. I understand you'd like to uninstall Grub/Linux. Is your recovery disc a Windows Recovery disc or the HP System Recovery disc?
You will need to begin by fixing the "Master Boot Record." This is where Grub is installed and what allows you to select your operating system. If you have a HP System Recovery disc the steps may be different--these steps are specifically for a Windows Recovery Disc. Try the following.
Boot the notebook with your Recovery Disc.
Select "Repair your Computer."
Select your Windows version once the dialog box populates.
Choose "Command Prompt" as your Recovery Tool.
From the command prompt type "bootrec /FixMbr" and press Enter.
Once this is finished type "exit" and press Enter.
Take the disc out and reboot the PC. It should boot straight into Windows without a boot loader prompting you.
The Linux files and partitions are still there but you can now remove those partitions from Windows. Simply format the partitions to "uninstall" Linux.
I hope this is helpful. If you have further questions just let me know. Have a great day!
Please click the white star under my name to give me Kudos as a way to say "Thanks!"
Click the "Accept as Solution" button if I resolve your issue. -
[SOLVED]Windows dual boot
Here's my fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x495d01ab
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3060 24579418+ 7 HPFS/NTFS
/dev/sda2 3061 4365 10482412+ 7 HPFS/NTFS
/dev/sda3 4366 16832 100141177+ 83 Linux
/dev/sda4 16833 19457 21085312+ 5 Extended
/dev/sda5 16833 18137 10482381 83 Linux
/dev/sda6 18138 18790 5245191 83 Linux
/dev/sda7 18791 19312 4192933+ 83 Linux
/dev/sda8 19313 19326 112423+ 83 Linux
/dev/sda9 19327 19457 1052226 82 Linux swap / Solaris
and here's my menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
# Linux Grub
# /dev/fd0 (fd0)
# /dev/hda (hd0)
# /dev/hdb2 (hd1,1)
# /dev/hda3 (hd0,2)
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
# (0) Arch Linux
title Arch Linux
root (hd0,7)
kernel /vmlinuz26 root=/dev/disk/by-uuid/e20fd940-03ae-48c4-a666-790e9be9e5d5 ro vga=792
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,7)
kernel /vmlinuz26 root=/dev/disk/by-uuid/e20fd940-03ae-48c4-a666-790e9be9e5d5 ro vga=792
initrd /kernel26-fallback.img
# (2) Windows Vista
title Windows Vista
rootnoverify (hd0,0)
makeactive
chainloader +1
Yet when I select Vista from the grub, all I get is an error saying that my windows boot manager needs to be fixed and I should put in my Windows CD etc....
I want the grub to be in the MBR...I just need to be able to access the Windows OS as well. Is there something wrong in my menu.lst file ?
Last edited by Inxsible (2009-02-13 07:33:36)Funny, I have an HP Laptop that dual-boots Vista and Arch x86_64. I don't seem to recall having a problem. I installed Vista first (system restore disk <yech!>), then used gparted to resize the Vista partition, then did a standard Arch install.
# cat /boot/grub/menu.lst
default 0
timeout 30
color light-gray/black light-gray/blue
title Arch Linux
root (hd0,5)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/fbece3b5-a239-4f40-91b6-d82986108e2d ro
initrd /boot/kernel26.img
title Arch Linux Fallback
root (hd0,5)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/fbece3b5-a239-4f40-91b6-d82986108e2d ro
initrd /boot/kernel26-fallback.img
title Windows
root (hd0,0)
chainloader +1
makeactive
# fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9c5a55bb
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sda2 18396 19457 8522752 7 HPFS/NTFS
/dev/sda3 6375 18395 96558682+ 5 Extended
/dev/sda5 6375 6501 1020096 82 Linux swap / Solaris
/dev/sda6 6502 9051 20482843+ 83 Linux
/dev/sda7 9052 18395 75055648+ 83 Linux
Partition table entries are not in disk order
I'd be happy to send you any parts of my laptop configuration that might help.
Last edited by airman99 (2008-12-24 14:19:52) -
[SOLVED] GRUB not booting up properly.
So. I have had a dual boot of Windows 8 and Arch for awhile now. Everything went very well until I decided to add Fedora to the mix. It installs another GRUB, and there looked like there was no way to select Do Not Install Bootloader in the install. So, after that, I went into Arch to uninstall Fedora's GRUB install. That's when the problems arose. I deleted anything that looked like GRUB in /dev/sda9 (The Fedora partition) Then, when I rebooted, after the Gateway logo, it shows me a Shift UEFI Key configuration thing, and says Booting in 5 seconds, then when the countdown ends it displays the horrible Boot disk not found system halted error. I know there's still stuff there as if I smash F12 at boot, I can select grub from a list of things and select Arch, Windows, or Fedora from grub. But its very annoying to have to smash down the F12 key everytime I reboot. Anyone know to fix it?
Last edited by Okashi@Odayakana (2015-06-13 22:56:14)Okashi@Odayakana wrote:Tried that, same error.
Tried what?
What error?
Read this:
https://bbs.archlinux.org/viewtopic.php?id=57855
Detail the *exact* steps you have taken.
Read this as well:
https://www.happyassassin.net/2014/01/2 … work-then/
Load the Arch live ISO, mount your Arch partitions, use `arch-chroot` and post the output of:
lsblk -f
# efibootmgr -v
# gdisk -l /dev/sda
cat /boot/grub/grub.cfg
You can use `sprunge` to generate a link to their pastebin for the command output:
<command> | curl -F 'sprunge=<-' http://sprunge.us
https://wiki.archlinux.org/index.php/Li … in_clients -
Windows 7 & 8.1 Dual Boot Problem
In my pc dual booting system is generated.
Both os windows 7 & 8.1 are separatly partitioned.
I have used it several day,but during 2 days windows 7 has been disrupting.
For that,i have only formated & reinstalled windows 7.
But now i can see that windows 7 is directly started but there are no options for windows 8.1 after opening my pc.
At early days options for both 8.1 & 7 can be seen.
But now that can't be seen.
Only windows 7 is started directly.
I have tried a lot,but can't understand the problem.
Please help me....Hi,
Please using the command below to fix system boot loader for test.
Open Command Prompt with administrator.
Type bcdboot x:\windows, press Enter.
After that, restart your computer to check if problem resolved.
Roger Lu
TechNet Community Support -
Windows 7 and Arch linux dual boot problem
hey guys I had an issue with windows 7 dual booted with arch and i was just wondering my windows 7 crashed. I had Reinstalled windows OS and all my partitions are set up but now when I try to boot up arch I cant at all cause windows Boot took over and i have no way of getting into arch is there anyway i can fix this or maybe reinstall arch without loseing my home folder with all my data, or is there just and easyer way to fix this issue im stuck. thank you all for your support as i am a noob
You need to re-install grub. When you reinstalled Windows it will overwrite grub preventing you booting Arch. You'll need to boot from a liveCD and chroot into your Arch installation. details for recovering grub are in the wiki - https://wiki.archlinux.org/index.php/GR … stallation
-
Two days before i have got this model Lenovo G580(20157) with i5 processor and nvidia 610m graphic card...
I want to install Ubuntu and Windows 7 or Windows 8 in Dual boot...
what i have done to do this:
1.Installed windows 8 with no problem and it was working completely fine
2.I restarted my laptop and inserted ubuntu 12.04 64 bit cd
3.Ubuntu installation setup started and in that it was showing that there is no operating system preinstalled on this machine.......it was showing that my complete hard drive is blank......but when i removed my ubuntu cd without installing it and restarted the computer windows 8 was working fine...
4. I have tried with Ubuntu 12.04 332 bit and with linux mint 14 64 bit also but the same scenario occured
the problem which i am facing is because of UEFI technology which started coming in recent laptop's
Please help me ..it is a serious problem for me as........even though Wubi also do not work.....Hello and welcome,
Try Ubuntu 12.10 64 bit or later.
Z.
The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc. The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
English Community Deutsche Community Comunidad en Español Русскоязычное Сообщество -
(Grub) Dual booting with XP on sdb
My goal is to be able to dual boot with two hard drives: Arch on sda and Windows XP on sdb. With help in the #archlinux IRC I've managed to get Windows XP to boot by getting the menu.lst correct but when I click "Start Windows Normally", or "Start in Safe Mode", etc. etc. the computer just reboots. A cellphone picture of that all well known Windows black Screen: https://www.dropbox.com/s/nrczq86vsi6o9 … 6%20AM.jpg
My fdisk -l and /boot/grub/menu.lst:
http://pastebin.com/sLUUsCcU
To see if my xp hard drive was still intact I did this:
sudo mount /dev/sdb1 /media && ls /media/
and saw this:
boot.ini NTDETECT.COM pagefile.sys System Volume Information
Documents and Settings ntldr Program Files WINDOWS
nano /media/boot.ini
[Boot Loader]
Timeout=30
Default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[Operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows" /noexecute=optin /fastdetect
I've consulted all the wiki's and forum posts I could find but at this point, I'm just stuck. Somehow I think the final result is me reinstalling both OSs and starting again from scratch.
Any help or advice on getting a fully functional Windows XP on /dev/sdb would be greatly appreciatedPres,
Thanks for the post. If I click "Last Known Configuration" the computer just reboots and I'm back where I started. Yeah, my Arch is working fine. My thought process behind re-installing Arch was that maybe the installation process would deal with the Grub config of /dev/sda and /dev/sdb automatically somehow and make everything OK... -
I'm trying to dual boot widows xp and arch. I have everything setup except i cant get grub to start when i turn on the system. All it does is boot into xp. I've read the wiki and everything and it didn't help. Thanks
Belikeabox wrote:I installed grub to the mbr like you guys said and it fucked up. When i select windows xp in grub it just says loading stage 2 adn goes back to grub. I have my menu.lst all setup right also.
as stated please please display the out put of fdisk -l
that is at a command prompt as root type in fdisk -l it will display info like this
Device Boot Start End Blocks Id System
/dev/sda1 63 2008124 1004031 82 Linux swap / Solaris
/dev/sda2 2008125 58428404 28210140 83 Linux
/dev/sda3 58428405 89915804 15743700 83 Linux
/dev/sda4 89915805 145211534 27647865 5 Extended
/dev/sda5 89915868 145211534 27647833+ 83 Linux
Device Boot Start End Blocks Id System
/dev/sdb1 63 3907024064 1953512001 83 Linux
Device Boot Start End Blocks Id System
/dev/sdc1 * 63 35407259 17703598+ 7 HPFS/NTFS
/dev/sdc2 35407260 78172289 21382515 83 Linux
notice I have several drives only two have os's arch32-sata arch64-sata arch32-ide & xp-ide
on my system to boot off the ide drive I have to tell the bios to boot from it
on each drive it has its own grub & on each grub both say to boot arch it looks to /dev/sda2 you see when I tell my bios to boot the ide it then makes it the 1st drive. so in the initrd file I tell it to load modules for pata only this way arch sees it then as sda not sdc as it is label in my fdisk -l posted above
I hope you understood what all I put here. if your like I was when I first migrated to arch I said its english but it sure seemed a foreign language.
when/if you have multiple os's & partitions & drives it can be a pain
you say your following the wiki but are you absolutely positive xp is where you tell grub it is
cause if you tell grub xp is on sda1 & sda1 is a hidden partition that was setup at the factory & xp is actually on sda2 grub is not going to look at sda2 only at sda1 that you told grub xp is there
linux can be frustrating in the begining especially arch. I remember, but it has been a fun learning experience & still is. -
My new onboard ethernet - Realtek PHY RTL8201CL on an ASRock K8NF4G-SATA2 board - seems to have a strange problem with dual-booting. After I've booted Windows XP it refuses to work in linux. My system hangs for a time during bootup at "Network" and finally moves on after network has registered as failed.
The only solution seems to be to turn-off the computer and truly power it down (unplug it). Once I've done that everything seems to work again without any trouble. I believe it must be the ethernet since this didn't happen with my old computer using exactly the same ethernet ADSL modem.
Since I don't use windows often it's not a big problem for me, but it is an annoyance. Does anyone know what might be causing this?weird, not that related but i remember an issue with ati users where starting windows first was necessary to initialize the ati card; thus getting it to launch in linux...
maybe you can alleviate this by having some initialize down/up code in your startup code before 'network'. -
Dual Boot Problem - Mountain Lion / Lion
I recently tried to setup a dual boot between Lion and Mountain Lion. I have them both existing on seperate internal hard drives. I can boot into each other just fine by selecting them from "Startup Disk" under system preferences. However, I cannot boot into them by holding down the option key at startup. When I hold down the option key at startup I just get a grey screen that hangs there. No options appear. It just freezes.
Any ideas on what I can do to make this work? Both operating systems are installed, working, and bootable. I'd just love to be able to have the option to choose which one to boot into at startup.
Thanks!
I should also add that I have tried zapping the PRAM as well.I have some new information on the problem. Alternative boot options do appear after holding down the option key, but it takes a solid minute and half for them to appear. I guess I was not waiting long enough. Any reason as to why it is hanging for a 1 1/2 minutes before displaying the boot options?
-
[SOLVED]Dual boot problem with an Asus UX31A (EFI)
I never did an EFI install before and I still don't understand how it works however following the Zenbook wiki, I have successfully installed Arch. Now I can't boot Windows 7 anymore. I am using grub2, have installed os-prober. Grub menu has windows 7 entry but when used prompts a wrong EFI file path error.
My partition table is:
[root@zenbook sonay]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 238.5G 0 disk
├─sda1 8:1 0 200M 0 disk
├─sda2 8:2 0 128M 0 disk
├─sda3 8:3 0 98.6G 0 disk
├─sda4 8:4 0 4G 0 disk
├─sda5 8:5 0 90.7G 0 disk
├─sda6 8:6 0 512M 0 disk /boot/efi
├─sda7 8:7 0 3.9G 0 disk
├─sda8 8:8 0 10G 0 disk
├─sda9 8:9 0 200M 0 disk /boot
└─sda10 8:10 0 30.3G 0 disk /
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 disk /run/media/sonay/My Passport
/dev/sda1 used to be Windows 7 EFI partition. Gparted says it is flagged as boot.
What I did to install arch:
Partitioned /dev/sda5 with windows disk manager to create linux partitions and formatted the new partitions with gparted as the noob I am.
created /dev/sda6 for EFI boot
created /dev/sda9 for boot partition
created /dev/sda10 as root.
Did not touch
/dev/sda1 which was the EFI partition named SYSTEM
/dev/sda2 which was windows boot partition
/dev/sda3 which was windows C:,
/dev/sda4 and /dev/sda7 which I don't know what they used to be (possible for Asus fast wake up or swap whatever)
/dev/sda8 which is recovery partition.
I did not touch any grub files, except /etc/default/grub
[sonay@zenbook ~]$ cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
Finally my /boot/grub/grub.cfg is:
[sonay@zenbook ~]$ cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
[sonay@zenbook ~]$ cat /boot/grub/grub.cfg
cat: /boot/grub/grub.cfg: Permission denied
[sonay@zenbook ~]$ su
Password:
[root@zenbook sonay]# cat /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 ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
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 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 ext2
set root='hd0,gpt10'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt10 --hint-efi=hd0,gpt10 --hint-baremetal=ahci0,gpt10 cf66f05a-418c-4517-a0e0-af01b3be4a67
else
search --no-floppy --fs-uuid --set=root cf66f05a-418c-4517-a0e0-af01b3be4a67
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_input console
terminal_output gfxterm
set timeout=1
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-cf66f05a-418c-4517-a0e0-af01b3be4a67' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 42d2ba69-758d-4a54-9482-ae5d60866a52
else
search --no-floppy --fs-uuid --set=root 42d2ba69-758d-4a54-9482-ae5d60866a52
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=cf66f05a-418c-4517-a0e0-af01b3be4a67 ro quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-cf66f05a-418c-4517-a0e0-af01b3be4a67' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 42d2ba69-758d-4a54-9482-ae5d60866a52
else
search --no-floppy --fs-uuid --set=root 42d2ba69-758d-4a54-9482-ae5d60866a52
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=cf66f05a-418c-4517-a0e0-af01b3be4a67 ro quiet init=/bin/systemd add_efi_memmap elevator=noop i915.i915_enable_rc6=1 pcie_aspm=force drm.vblankoffdelay=1 i915.semaphores=1 nmi_watchdog=0
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
### 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_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-5246C0D846C0BE4B' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 5246C0D846C0BE4B
else
search --no-floppy --fs-uuid --set=root 5246C0D846C0BE4B
fi
chainloader +1
menuentry 'Windows Recovery Environment (loader) (on /dev/sda8)' --class windows --class os $menuentry_id_option 'osprober-chain-3C98C9B298C96B4A' {
insmod part_gpt
insmod ntfs
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 3C98C9B298C96B4A
else
search --no-floppy --fs-uuid --set=root 3C98C9B298C96B4A
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 ${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 ###
SOLUTION:
first I needed to mount Windows EFI partition which was /dev/sda1, so :
mount /dev/sda1 /mnt
Then issue the following commands and take note of the outputs:
grub-probe --target=fs_uuid /mnt/EFI/Microsoft/Boot/bootmgfw.efi
which outputs: 18DF-E58E and
grub-probe --target=hints_string /mnt/EFI/Microsoft/Boot/bootmgfw.efi
which outputs: --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1
Finally edit the os-prober entry to the following in /boot/grub/grub.cfg
menuentry 'Windows 7 (loader) (on /dev/sda3)' --class windows --class os $menuentry_id_option 'osprober-chain-5246C0D846C0BE4B' {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 18DF-E58E
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
Last edited by sonay (2012-10-07 18:20:20)grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
--hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1
Sorry, no need to anymore. Thanks anyways.
Last edited by sonay (2012-10-07 18:08:39) -
[Solved][GRUB/ATI] Video problem
Hi all.
I have a Radeon HD 6670 (Turks XT/r600)
When I boot arch linux live from USB everythink works ok.
But after install I have no video.
System boots > shows grub > shows systemd things > screen blinks and all black.
After some self research, I found "gfxpayload=keep" on grub parameters and change it to "gfxpayload=disable", then F10 and everything works great (video/X/VDPAU/3D...)
Why it hapens and how can I permanently set this disable on grub?
[EDIT]
Some PC, some instalation, with on board HD4250 (RS880G) video works with gfxpayload=$ANYTHING
[EDIT 2]
You can change gfxpayload on /etc/default/grub
Last edited by souenzzo (2014-08-30 13:39:02)souenzzo wrote:You can change gfxpayload on /etc/default/grub
After which you run '# grub-mkconfig -o /boot/grub/grub.cfg' and the changes are saved.
https://www.gnu.org/software/grub/manua … yload.html
Should you consider this issue solved, then please mark the thread as such. -
[SOLVED] SSD and boot problem
I recently bought a new 30GB Corsair SSD, and it runs wonderfully. However, the device takes a considerably long time to initialize on boot (~30-45 seconds).
Here's a snippet of the relevant dmesg output:
[ 23.360042] ata5: lost interrupt (Status 0x58)
[ 23.363366] ata5: drained 65536 bytes to clear DRQ
[ 23.447633] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 23.447673] scsi 4:0:0:0: CDB: cdb[0]=0x12: 12 00 00 00 60 00
[ 23.447683] ata5.00: cmd a0/01:00:00:60:00/00:00:00:00:00/a0 tag 0 dma 96 in
[ 23.447684] res 40/00:02:00:24:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 23.447754] ata5.00: status: { DRDY }
[ 23.447810] ata5: soft resetting link
[ 23.653843] ata5.00: configured for UDMA/33
[ 23.654431] ata5: EH complete
[ 23.654435] scsi scan: 96 byte inquiry failed. Consider BLIST_INQUIRY_36 for this device
[ 23.657130] scsi 4:0:0:0: CD-ROM TOSHIBA DVD-ROM SD-R1312 1011 PQ: 0 ANSI: 5
[ 54.373360] ata5: lost interrupt (Status 0x58)
[ 54.376674] ata5: drained 65536 bytes to clear DRQ
[ 54.465937] ata5.00: limiting speed to UDMA/25:PIO4
[ 54.465941] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 54.465985] sr 4:0:0:0: CDB: cdb[0]=0x5a: 5a 00 2a 00 00 00 00 00 80 00
[ 54.465996] ata5.00: cmd a0/01:00:00:80:00/00:00:00:00:00/a0 tag 0 dma 16512 in
[ 54.465997] res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[ 54.466085] ata5.00: status: { DRDY }
[ 54.466144] ata5: soft resetting link
I haven't encountered this problem with any other drive I've put in there, so I'm guessing it must be SSD-related. Has anyone else experienced something similar, and could you point me in the right direction? Thanks.
Last edited by itsbrad212 (2012-04-01 00:05:28)itsbrad212 wrote:
falconindy wrote:Consider RMA'ing the drive.
Do you think it's defective/worth replacing? It's more of an annoyance than anything, and the drive has no other visible issues other than on initialization.
Yes, I do. Healthy drives don't timeout on simple DMA initialization requests. -
Dual boot problems 10.3.9 and 10.4.6
I have a power mac G5 with 2 internal hard drives. The primary drive is running 10.3.9. I just installed 10.4.6 on the secondary hard drive. Ever since, the computer boots from the secondary drive and the primary hard drive will not mount. it won't come up as a startup disk in the system preferences, it only appears in the system profiler and disk utility. in system profiler, the partition is greyed out. in the disk utility, disk repair reports an error: invalid b-tree node size, which it is not able to fix. (read on as the drive atually works). when i disconnect the secondary drive, the primary drive running 10.3.9 boots and runs. i swapped the drives, moving the secondary as the primary. no change. i need to keep both systems running until i can update all my software. why is it that whatever both drives are connected only the drive running tiger ounts? any help? thanks!
power mac g5 Mac OS X (10.4.6)try booting up from your installer dvd, and choose startup disk from off the cd - see if they both show up.
Maybe you are looking for
-
AW$ table unable to drop
Hi ALL, I have an analytical workspace in oracle 10g (10.2.0.3). I deployed a new dimension recently in my workspace, which contains chart of accounts hierarchy. After deploying the dimension, i am unable to ATTACH the Analytical Workspace. I have tr
-
My iTunes won't recognize my new iPhone + "AppleMobileDeviceHelper" error
I bought a new iPhone and already have an Apple ID & Password & iTune account. When I plugged my new iPhone I kept getting a "AppleMobileDeviceHelper" error messages. They keep popping out. Plus iTune won't recognize my Apple ID (I don't want a new o
-
How do I get past the request to turn off Itunes.
Hi people, Sorry if this question has already been answered. I tried to find some help on the forum but the question may have been asked a different way and I couldn't find it. So my problem, I have downloaded xcode_3.2.6_and_ios_sdk_4.3.dmg and it i
-
Printing letters to customers of marketing target group or campaign
Hello everyone, We have a need to print letters to customers from a marketing target group or campaign. (SAP CRM 7) The problem is that we can only see an option in application to send a Mail/SMS/Fax to the customer (with an already prepared mail fo
-
Vl02n : How to restrict changed in Delivery after TO confirmation
Hi, Standard behaviour of system is observed as follows. Delivery created --> TO Create --> No changes in Delivery --> TO Confirmed --> Delivery Item quantity can be increased or Line item/s or delivery itself can be deleted. Needs to be restriced De