Ubuntu :: Grub2 - Chainload EZBoot - Windows PE And Add A Menuentry For ISO?
Mar 20, 2011
I've long been looking for a way to make an ISO out of a CD I have, write it to a partition and boot it with grub2. I understand that doing that is non-trivial so I decided to go a different route (for now). I extracted the contents of the CD (iso9660) onto a NTFS partition (/dev/sda6). The CD has several things on it, it first loads a text-based screen that has options to either boot the first HDD, boot to a Windows PE environment, or boot some isolinux-based utlities. I've observed the following on in its root directory:
/boot/BCD
/boot/bootsec.exe (and others)
/ezboot/*.ezb
/isolinux/isolinux.bin (and others)
/bootmgr
So based on what I see when I boot the CD, and the files I'm seeing on it, the EZboot loads first, then either the Windows PE bootloader or ISOLinux depending on what you pick. I have grub installed onto it's own dir and it works fine for linux. When I ran grub-mkconfig it found a Windows Bootloader on /dev/sda6 but when booting to it the machine resets. So the Question is: Can I chainload EZBoot? If not, can I chainload Windows PE and add a menuentry for ISOLinux?
View 1 Replies
ADVERTISEMENT
Apr 26, 2011
I've partially installed Gentoo to a separate (RAID0) partition and would like to boot it from my Ubuntu 10.04 Grub installation. I have a /boot on RAID1 (mirror) and Ubuntu root on RAID1 (stripe set.) I have added what I could figure out to
Code:
hbarta@olive:~$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
[code]....
And it starts to boot the Gentoo kernel. (That fails when it cannot find the root partition, but I think that is past the point where grub has done it's work.) what I have wrong in the Gentoo menuentry that causes it not to show up?
View 9 Replies
View Related
Jul 2, 2010
My internal is sda windows = sda1 recovery = sda2 my external is sdb storage = sdb1 linux sdb2 GRUB is on sdb2's first sector. I tried coping it to grub.mbr on sda1 and added C:grub.mbr="ubuntu linux" all I get when selecting it is _ blinking and no booting. USB booting from BIOS works but I don't want family to have to mess with unplugging and replugging it when they want to boot to Windows. I also tried installing GRUB2 to MBR of sdb and copying same problem.
View 9 Replies
View Related
May 4, 2010
Out of curiosity, can you chainload a Linux system via a Windows executable within Windows at the ordinary desktop?Knowing windows there would be enough holes to write at any memory address without "permission", but can it be done with a humble executable? Or is Windows just too active, without the chance of nothing happening at any one pointo that everything can be exited cleanly non-existent?I'm not asking for a program or guide to do this and neither do I aim to do it. As I've stated it is all out of curiosity on whether or not some sort of protection is in place to stop this kind of thing
View 5 Replies
View Related
Mar 7, 2010
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
View 3 Replies
View Related
May 17, 2010
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
View 2 Replies
View Related
Jan 3, 2011
I have a machine with two disc but only one is involved in the boot. It is hd0 / sda. On this I have several partitions, first I have a partion (sda1) with grub-legacy and a menu.lst file that boot by chainloading my ubuntu 10.04 on partition sda4 (with ext4 and grub 2). This works without any problems. Today I was doing a larger upgrade of my mythtv install so I first copied sda4 to sda3, did all the neccessary changes in /etc/fstab and a grub-mkconfig (so that the grub.cfg on sda4 also included sda3 kernel). The chainload manage to nicely chainload to sda4 and when I select the newly copied kernel on sda3 it boots. Now inside the booted kernel/ubuntu on sda3 I again do the grub-mkconfig so I get a correct grub menu. I add a new chainload to menu.lst on sda1 so that I can go direct from that to my new partition.
when I chainload to the sda3 (hd0,2) partition I get grub-legacy error 13 invalid or unsupported executable format. No grub2 menu from sda3 shows up and the boot halts. The grub.cfg files on sda3 and sda4 are identical besides the uuid and hd0,3/4 references.
View 1 Replies
View Related
Jul 25, 2010
I'm trying to setup existing Linux partitions to boot using chainloader following instructions from here:
[Code]..
View 6 Replies
View Related
Mar 14, 2011
I just installed CrunchBang Linux and it's great! But I can't boot into windows anymore. I'm sure it didn't delete my Windows partition-it's mounted. My linux partition is /dev/sda1 Windows is /dev/sda2
Code:
sudo update-grub
Found linux image: ....
Found initrd image: ....
Found linux image: ....
Found initrd image: ....
done
how I can get Windows to reappear? I've had bad luck with Grub in the past and I don't want to fight it on my own...
View 9 Replies
View Related
Jul 24, 2010
I'm trying to setup existing Linux partitions to boot using chainloader following instructions from here:
Cool Solutions: Install Linux Frequently, Without the Hassle
and here:
Error Loading Operating System after 11.3 fresh install
Here's fdisk -l:
Code:
# fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
View 4 Replies
View Related
Jan 17, 2010
As the Title states, "update-grub" does not detect the windows xp partition on /media/sda1. And, when I attempt to mount it from teminal nothing happens, and from nautilus I receive the following error: "Error mounting: mount exited with exit code 2:
mount: only root can mount /dev/sda1 on /media/sda1" I am root.
View 9 Replies
View Related
Aug 26, 2010
I booted into Windows 7 three times this summer and each time I did, upon restart grub was missing. In fact, the computer couldn't find any operating system, and displayed an error "No Module Name Found".
how to make windoze not commit suicide and delete grub?
I have a Dell Studio 1557.
:~$ uname -a
Linux dell-monsters 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:38:40 UTC 2010 x86_64 GNU/Linux
:~$ sudo fdisk -l
[Code].....
View 2 Replies
View Related
Oct 10, 2010
I've searched quite a bit and cannot find a solution to why using update-grub cannot detect my windows 7 partition Here is a log of the bootinfo script(hopefully it pastes correctly...)
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for (,msdos1)/boot/grub.
[code].....
View 3 Replies
View Related
Oct 27, 2010
I upgraded a while back to Windows 7. I run two separate HDDs, with debian on sda and windows on sdb.Everything worked fine, up until i upgraded to windows 7. The installer forced me to unplug sda and make sdb primary. After installing I repositioned the HDDs and was stuck with a "NTLDR is Missing" messageAfter removing the search -fs--uuid tag from grub.cfg, Windows 7 booted for a good 0.5 sec and then rebooted. All that flashed was the "Starting Windows" page. I see similar bugs reported in the launchpad, but nothing that directly parallels this Here's my windows entry in grub.cfg:
Code:
menuentry "Microsoft Windows 7 Ultimate (on /dev/sdb1)" {
insmod ntfs
[code]....
View 6 Replies
View Related
Nov 18, 2010
I've installed Xubuntu 10.10 on a very new EeePC 1201HA. The netbook came preconfigured from the OEM with the disk split into two Windows partitions of about the same size, one with Windows 7 starter. I removed the second partition (Which was just empty) and have installed a series of different distros since then, to try and gauge their support for the 1201HA hardware. I finally settled on Xubuntu, which can support most of the laptop's features with some tweaks.
However, after this last install, and a Grub config change needed to make the framebuffer work on this hardware, I'm unable to boot Windows 7.Grub shows it on the menu normally, but when I select the Windows 7 entry, I get the message 'Reboot and select proper Boot device or Insert Boot Media in selected Boot device and press a key,' which I understand isn't from the OS but rather a BIOS message which implies there is no loader.
I've tried using the Windows 7 system restore to do everything short of rewriting the Windows bootloader to the MBR (Which would, of course, remove Grub and thus not solve my problem, as I couldn't load Ubuntu from it). I attempted to fix the boot sector on the partition with the system restore tools, to no avail. And because this is a netbook with no optical drive, I'm unable to reinstall from a disk.
View 9 Replies
View Related
Dec 5, 2010
So to make things short, here's my situation: I was having the "no module found" problem, because dell software kept on messing with the MBR So I restored the MBR using Windows recovery and deleted the dell software Re-installed ubuntu 10.10 off the liveCD ~Then I had problems getting GRUB2 boot menu to show at boot, but i fixed that~ Now I'm having the problem where whenever I try to boot into windows 7 through GRUB2 instead of booting windows I just get:
"bootmgr is missing"
Note: I can still boot into Ubunutu 10.10 just fine.
View 9 Replies
View Related
Feb 17, 2011
I installed Ubuntu 10.10 on my computer from a USB. I did not use wubi to install ubuntu. The computer already had Windows 7 installed. According to gparted, Windows 7 is installed in sda1, linux swap space is in sda2. Then sda3 is shown as a drop down menu containing sda5, where linux is installed. A picture to show this is attached . sda4 is a recovery partition that came with the computer.
The problem is that Windows 7 sometimes boots, and sometimes it does not boot. Most of the times it does not. Ubuntu boots perfectly. The process to boot is the usual, turning on the computer, wait for grub to load. If I pick Windows, it goes to the splash screen (which is by the way not the usual windows 7 splash screen, it resembles more the vista splash screen, picture attached. I do not know the reason, and I have no idea if it has anything to do with the problem) About 80% of the time, it simply reboots a few seconds after the windows splash screen is shown. The reboot takes me back to the usual HP splash screen, then grub again. The other 20% of the time, it boots normally and works perfectly well.
Right after I installed ubuntu Windows was shown in grub as installed at sdb1. I updated grub and now it is shown as sda1. I already tried some grub custom entries for loading Windows differently, but they all present the same problem. Please do not discard a custom entry as a solution, as the source I used for these custom entries was not entirely trustable.
I also tried popping in the windows installation disk and trying a system repair, but apparently no errors were found.
Reinstalling grub using Ubuntu live cd (booted from a USB) did not work either...
View 9 Replies
View Related
May 16, 2011
i installed ubuntu / under /dev/sda1, then installed Win7 under /dev/sda2, as primary. Extended partition and its logicals are for data.
After Win7 installation, i can restore the grub2 for ubuntu, with grub-install and update-grub2. It can even probe the NTFS partition under /dev/sda2. But at restart, when i tried to go to Win7 selection, it does nothing, screen goes black, blank, with a single cursor blinking.
Some data:
Ubuntu Natty 11.04
From /etc/grub/grub.cfg:
Code:
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos2)'
[Code].....
View 3 Replies
View Related
Feb 28, 2010
I have 2 hard drives, first drive (hd0) is for data, second drive (hd1) is for the OS's. Windows 7 was installed on (hd1) a few months ago and wiped out GRUB. But today, I decided to go back to Ubuntu. I performed a fresh install of 9.10 x64 to (hd2), GRUB2 works and finds Ubuntu (both the newly installed x64, and the previous x86 versions), but it does not see Windows 7. The only goal I have right now, is to make Windows 7 bootable, once again.
My "sudo fdisk -l" (typing manually, so skipping the Blocks)
Device Boot Id System
/dev/sdb1 83 Linux -- where x64 9.10 is
/dev/sdb2 f W95 Ext'd (LBA)
/dev/sdb5 83 Linux -- where x86 9.04 is
/dev/sdb6 83 Linux -- /home
/dev/sdb7 82 Linux Swap / Solaris
/dev/sdb8 87 HPFS/NTFS -- Windows 7
Things I've tried so far:
1) Automatically finding Windows: sudo update-grub2
2) Reinstalling grub via Live CD (9.10): sudo grub-install --root-directory=/media/(where sdb1 - x64 Ubuntu is) /dev/sdb
3) Forgetting Ubuntu altogether and fixing boot using Windows 7 - bootrec.exe /fixmbr; bootrec.exe /rebuildbcd
Now, number 3 is interesting, I found out that where Windows is installed, /dev/sdb8, is a logical partition, and cannot be made active (bootable). This led me to try number 4:
4) Updating /etc/grub.d with custom 40_Win7 file, and making it bootable (the GRUB makeactive, GRUB2 parttool command):
echo "Adding Win 7 to Bootloader" >&2
cat << EOF
menuentry "Windows 7" {
insmod ntfs
set root=(hd1,8 )
parttool (hd1,8 ) boot+
chainloader +1
} EOF
When I update grub.cfg after trying #4, it gives me the "not a primary partition" error. So now I am confused. Windows 7 was able to boot previously from this very partition, and I don't think installing 9.10 would change a partition type from primary to logical. So, why can't it boot? More importantly, what can I do to boot Windows 7?
View 9 Replies
View Related
Apr 2, 2010
I installed Ubuntu 9.10 yesterday on my computer. I had Windows XP and Windows 7 (I deleted the Windows 7 partition and installed Ubuntu 9.10). However, after installing Ubuntu, I couldn't access the grub boot menu. So I googled, and I found out how to make the menu show up again. That was okay. But Windows XP didn't show up. So I googled a bit more, searched the forums, and I added the following entry to my 40_custom file code...
As far as I know, that should work. The uuid I entered there is the one that gparted told me was the uuid of the partition. However, this isn't working. I get a disk read error when I try to boot my Windows XP.
According to my gparted, my Windows XP drive is inside an extended partition? I wonder if that has any influence on why I'm getting the disk read error, or anything. It's either that, or my 40_custom entry is wrong. I've been trying to sort this out for a while now, and I'm afraid I'm not getting anywhere with it.
View 3 Replies
View Related
Apr 4, 2010
I have windows 7 in RAID 0 and installed Ubuntu 9.10 to another Sata drive. Ubuntu is working fine but if I try to boot windows in the Grub2 loader it goes do error and lets my to restart. I have finish the windows system recovery and setup repair several times and it won't find any problems. I can't get to windows loader.
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sdb
=> Grub 2 is installed in the MBR of /dev/mapper/pdc_chfbjcefbd and looks for
(UUID=c859191e-3279-4ecc-a569-4dfc8e1789b3)/boot/grub.
[code]...
View 1 Replies
View Related
May 3, 2010
I have a asus eeepc 1101ha. With Karmic,it would boot into w7 without problems.I installed Lucid on another partition,and after that the w7 grub entry would leave me with a blinking cursor in the left top corner, and hang.
I booted with the w7 dvd, ran bootrec.exe to restore mbr and bootmgr, and the booted into w7 to confirm. It was working. Then I booted with the live dvd, mounted the lucid partition, and installed grub. Now choosing the w7 entry would ask for the boot media, and pressing any key would bring me back to the grub menu. Lucid and karmic boot without problems.
Installing grub from karmic now gave the same error. Running update-grub didn't change anything.As I had to use w7, I booted again from the dvd, and restored again mbr and bootmgr. Booted into w7, used it, then once again to the live cd, to reinstall grub, and once again the w7 entry in grub makes grub ask for the boot media.I've attached my boot info script.Ah, I also played with the bootable flag for the /dev/sda1 partition, but it didn't change anything.
View 1 Replies
View Related
Jun 6, 2010
I installed Ubuntu in my new notebook. It originally comes with Windows 7 installed on it.Everything works nice however every time i boot into Windows7 the grub menu doesn't work any more. i can't boot into windows or ubuntu any more. How do I stop this? Its rather annoying to have to boot, chroot and fix this problem everytime.
View 1 Replies
View Related
Jun 26, 2010
Windows has some files I need and when I try to boot it hangs at a black screen with a blinking cursor.
I checked grub.cfg and this entry was in there code...
View 9 Replies
View Related
Jul 15, 2010
i am dual booting windows 7 and ubuntu 10.4 lucid, i just reinstalled the Grub2 after my windows erased it, and now it boots into grub2 but i can only boot into my windows7 loader, ubuntu is not even listed as an option for me to boot into its just a bow with the win7 loader. How can i get the grub2 to load ubuntu back again? i followed the guide on this site to reinstall the Grub2 and set up the dual boot. [URL] edit: i can find plenty of info for getting windows back into grub, but none about getting ubuntu back
View 8 Replies
View Related
Jul 17, 2010
After installing ubuntu 10.4 netbook remix edition to my laptop, I then found that GRUB hadn't installed at all, and it went straight to windows 7 each time. So I rebooted from my live-usb and got into the terminal, and typed
Code:
sudo grub-install /dev/sda5
Which then gives me
Code:
No path or device is specified.
Try `/usr/sbin/grub-probe --help' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
View 2 Replies
View Related
Oct 12, 2010
I have grub2, and windows 7 and ubuntu show up on the start up menu.
When you hit windows 7, it starts all the way to the ending of the flags, and just restarts.
I have tried chkdsk c: /f /c Restoring windows 7 boot, and then grub menu Creating a custom menu entry. Nothing works.
Here is my boot info script, results:
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #5 for /boot/grub.
[Code].....
View 9 Replies
View Related
Dec 10, 2010
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}
This is automaticly genarated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter. Grub 0.97 also does this with:
title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2
But the wierd thing is my usb stick can boot windows 7 succesfully with the same configuration. Whats wrong with that? How can do with grub.cfg?
View 9 Replies
View Related
Jan 3, 2011
ok so sounds like everyone elses issue that i`ve seen on here but i had it all working properly until i booted into ubuntu and updated grub somehow and when it told me to reboot all i got was a grub rescue error.
Now i got ubuntu 10.10 installed to try and fix the grub 2 error but now cant get it to boot windows from the menu.
View 5 Replies
View Related
Feb 28, 2011
I am trying to recover Grub2 after reinstalling Windows 7 on my computer (which always takes over everything). I downloaded the Ubuntu 10.10 image from here and have mounted the image using the given instructions.
After restarting my computer, changing the boot order, etc., the computer reboots and hangs at "Verifying DMI Pool Data............" I have done everything correctly, so what exactly is causing this problem? Should I restore Grub2 in some different way, then?
View 2 Replies
View Related