Ubuntu Installation :: Boot From Grub2 Or Whatever Is Called
Nov 1, 2010
Every Time I Try Too Boot Ubuntu, Instead Of Starting Up It Takes Me To This Menu Type Thing And It Says To Press Tab To See The Command List Or Something Like That. And I Dont Know What Commands To Use.
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
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)?
I recently got a netbook and setup as dual boot between win7 starter and 9.10 (64bit). Win 7 starter is not impressive so i want to nuke it and give the space all to my /USR partion. I am comfortable working with Gparted and assume that i can launch using my gparted live usb and delete the windows partion and then resize the /usr partion.
what changes do i need to make w/ Grub2? I would prefer not to see the Grub menu at all and have it load right the main kernel if possible. Also, if this is possible is there a way to get to the Grub menu during boot should i need to select a different kernel?
After installing karmic with Grub2 I am unable to boot into Archlinux partition. Grub2 has removed the last line of the Archlinux boot stanza! It used to read:-
[Code]....
Following the Grub2 tutorials I have tried editing /etc/grub.d/40_custom as follows:-
[Code]....
But no luck. Only way into Archlinux is to get into the edit shell and manually add the missing line and remove other stuff not needed. I have spent hours trying to resolve this issue and I am fairly p----d off
GRUB2 won't boot. It hangs just after the 'Boot from CD' thing in my BIOS.I've had 1.97 working on my PC about 24 hours ago, but I decided to start afresh and go for Xubuntu 10.10.I'll post the PC specs in the morning, but in the meantime, does anyone know how to fix this?It's going to be a Xubuntu only system, and I've tried to repair the GRUB files via the Live CD and here.
So I have a really old (about 10 years) desktop PC manufactured by Packard Bell, and would like to get Lubuntu 10.10 running on it. I had previously burnt a CD with it, but boot time was incredibly slow on the machine and installation of Lubuntu crashed my system. As a result, I created a LiveUSB (as you do).
When I entered my CMOS, I discovered the BIOS on my machine isn't able to boot from USB, and I wasn't able to find a BIOS update for my AMIBIOS chip on the American Megatrends website. So I booted my GParted Live CD and created an ext4 partition at /dev/sda3, which I proceeded to install GRUB2 onto via the commands:
Code: $ sudo su # mkdir /mnt/grub/ # mount /dev/sda3 /mnt/grub/ # grub-isntall --no-floppy --root-directory=/mnt/grub /dev/sda
This, as planned, succeeded; I can now get into a GRUB2 prompt when my machine boots...! The only problem is, GRUB2 won't detect my USB...or any device other than my hard drive
So, is there any way I can get GRUB2 to find my USB?
P.S. The USB works fine on my laptop, which does support USB booting. I can also boot the USB on my laptop via its GRUB2 command line, using:
Code: grub> set root='(hd1,1)' grub> chainloader +1 grub> boot
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.
I've already had WinXP SP3 installed on one HDD, so i've installed 10.04 on my spare HDD. When I try to boot to Win, I get ntoskrnl.exe missing error. This is my boot info script report:
Code:
Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ============================== => Windows is installed in the MBR of /dev/sda => Windows is installed in the MBR of /dev/sdb
[code]....
I've tried with different boot orders in bios, reinstalling Grub2 (several times ), I've even tried to install lilo through software center but didn't know how to configure it ...
I used to have 2 HDDs for ubuntu: 1 x 80GB and 1 x 500GB The 500GB disk was my /home directory and is now used exclusively for Windows 7. I have now moved /home to the 80GB drive and have modified /etc/fstab to point /home to /home rather than /dev/sdb1. However, I cannot boot into ubuntu. I have tried using Super Boot Disk cd-rom but still no joy. I think I need to fix grub and have tried by booting into a Live-CD and following a tutorial I found on the forums but it complains about not being able to find a device.map I guess this has something to do with the fact that the 500GB HDD is now gonoe but am not sure how to resolve this issue. how to recreate this file but the command failed.
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:
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.
As I now have a 120Gb SSD in an efi-capable laptop, I'd like to re-install 11.04. I'd like to format the SSD as gpt and make it bootable with efi. And I'd like to use grub2 as the bootloader.
Can anybody walk me through this? I'm pretty new to Ubuntu, though I've used several other distros for a number of years. When I last installed 11.04, I don't remember seeing options for gpt, for example. And I don't know how get things booting with efi.
I feel there's a bit of a misunderstanding going on between C++ and me...My problem is that I have a deque of pointers to a class, and create objects then add them to the deque in a for loop. However, the destructor is called on the object as soon as the loop quits.
Code:
This prints:
Code:
Now, if I change the deque from deque<Test*> to deque<Test> then it works fine - I get:
Code:
However, I can't do this with my actual code, because I am creating a deque of pointers to an abstract class, so it won't let me instantiate the class. (This is all so that I can take advantage of polymorphism, and call functions on a set of similar objects without worrying what type of object I'm dealing with).
So, I suppose my question is: what is the correct way to create that deque of pointers to the abstract class? I don't seem to be barking up the right tree currently.
I am having problem in grub2 fails to boot the system. I get the error:
Booting from local disk... GRUB loading. error: no such disk System setup:
It's a Dell XPS400 PC with 160 GB HDD. I have a non-LVM, primary partition for the boot file system (/boot) of 200 MB. I also have seven logical volumes (LVM partitions): six for each of the /(root), swap, /home, /usr, /var and /tmp, and one vbox_win_xp_base as a raw disk for running Win XP in the Virtualbox. I went on to configure all these without rebooting the system in between. Later I also updated to the kernel version 2.6.31._20. Next day I decided to reboot my system. But then the bootloader (GRUB2 in my case) won't able to boot it and gives the error mentioned above.
I am trying to dual-boot windows xp and ubuntu 8.04LTS from two separate hard drives, on a compaq d510 evo SFF. With research, the best way to do that seemed to be to upgrade to Grub 2 and all would be well...not so much. I installed each OS with the other hard drive removed, fyi. I believe that this tells me that I SHOULD be able to boot off either drive, if I could get Grub 2 to recognize...
Code: steve@Stewie:~$ sudo fdisk -l Disk /dev/sda: 40.0 GB, 40060403712 bytes 255 heads, 63 sectors/track, 4870 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xb788b788 .....
Code: steve@Stewie:~$ sudo update-grub Updating /boot/grub/grub.cfg ... Found linux image: /boot/vmlinuz-2.6.24-27-generic Found initrd image: /boot/initrd.img-2.6.24-27-generic Found linux image: /boot/vmlinuz-2.6.24-26-generic Found initrd image: /boot/initrd.img-2.6.24-26-generic Found memtest86+ image: /boot/memtest86+.bin done
I have also tried adding the proper code to the 40 custom file, and while I could at least get it to acknowledge my changes, I couldn't seem to find the magic code to get it right.... The other thing I tried was adding GRUB_DISABLE_OS_PROBER=false to /etc/default/grub and last but not least, here is my results.txt from the boot info script. I also tried uninstalling/reinstalling grub 2, perhaps I created issues there?
Code: Boot Info Script 0.55 dated February 15th, 2010 Boot Info Summary: => No known boot loader is installed in the MBR of /dev/sda => Windows is installed in the MBR of /dev/sdb
I have been trying to get a boot image to display on a minimal install of Ubuntu. I have followed the steps in the grub2 wiki but I can't get it to work. attached are the steps I have taken with no change in boot. (No Image)
I recently installed Ubuntu 10.04 on my dual boot system and noticed that my boot options were changed. I typically have Windows XP as the default OS. Here are the steps that worked for me to get Windows XP as the default boot using Grub2.During my initial Window XP install I had partitioned my hard drive into 3 partitions:
Code: Partition 1: NTFS format (Windows XP installation) in Linux it is called /dev/sda1 Partition 2: NTFS format (Data for Windows XP) in Linux is is called /dev/sda5
I upgraded my main box to Ubuntu 10.04 and everything runs fine, except for a problem with grub: I can't modify the boot menu in any way, I'm stuck with what grub2 thought was the optimal setup at installation time (and it got it wrong, btw). The current boot menu lists:
- my older 9.10 install in sdb2 (one kernel) - legacy windows XP install on sda1 - my even older 9.04 install in sdb1 (two kernel versions) - my new install in sdb3, with only one kernel (the one coming with the distro CD)
I tried anything I could think of to modify this menu:
- modify the /etc grub config file then running sudo update-grub - using a specific app (system manager? don't remember its name) - upgrading to the latest kernel - removing and reinstalling grub
to no avail: the menu is still there in the above form, and I have to manually select the 10.04 (old) kernel by hand every time I reboot.
I have been searching in preparation to install 10.04.1 with 2 installations of Windows,already installed.(Win 7 then Vista) I have left room at the end of the drive for Ubuntu. When I get to the stage to select the boot options and click on advanced, what should I select?
Been using Linux for many many years but Grub2 is annoying the heck out of me at the moment.
My home desktop PC is set up as follows:
/dev/sda � 40GB 10k Raptor with Ubuntu 10.10 installed /dev/sdb � 500GB HDD formatted to ext4 /dev/sdc � 500GB HDD split up as follows:
/dev/sdc1 � 80gb NTFS partition with Win7 installed /dev/sdc1 � Remaining drive space NTFS but nothing on it yet
Grub2 refuses to detect that Windows is installed on the 3rd HDD. I've googled and spent hours trying all sorts of things to get it to detect it and add it to my boot menu.
If I disconnect all drives except the Windows drive it boots up straight into Win7, so it's healthy and happy. (as healthy and happy as Windows can be, I need it for work purposes only!)
Does anyone have any tips on what would be the best method to force grub to realise that Windows is sitting there?
As far as I understand, the Win7 partition should be (hd2,1) � does that sound right to you?
I haven't tried booting off an Ubuntu CD and re-installing grub, since I can get into Linux and all the guides seem to be about how to restore grub after a Windows install eats it...
I'm installing Ubuntu server 10.04 LTS in several machines with identical hardware using clonezilla.Every thing is ok except than wen starting a cloned machine, grub waits the user to make a selection to boot from.The hard disk has 3 partition:
Device Boot Start End Blocks Id System /dev/sda1 * 1 14 112423+ 83 Linux /dev/sda2 15 1059 8393962+ 82 Linux swap / Solaris[code].....
how to do to start automaticaly? This is the content of grub configuration file (/boot/grub/grub.cfg)[code]...........
I'd like have some text written on my grub2 boot menu.
In legacy grub you could just add: title Foobar and you'd get "Foobar" displayed.
I tried: menuitem "Foobar" {} grub2, but it doesn't work. Any ideas how do you do something like that?
(Yes, I know writing grub.cfg by hand is not very smart. But I have a special situation: I wrote my own grub.cfg on a dedicated boot partition from where I chainload to other grub on other partitions. Those secondary grubs generate their grub.cfgs on the fly, so everything is OK )
I installed UEFI Ubuntu 10.10. Its grub2 version is 1.98. I want to upgrade it to 1.99.I try to use 'grub-install' and 'grub-setup' commands but I faild to upgrade the grub2.
And, when I add my ram to 4G, the system hangs and displays 'Not syncing: VFS: Unable to mount root fs on unknow-block(1,0)'
GRUB2 replaced the boot entry for Windows 7 when I installed Windows XP. I tried to create my own menu entry for Windows XP but it seamed to me that it was superseded by the Windows 7 boot loader. I have a brand new desktop PC - Core i7 processor, 2 TB hard drive, 6 GB RAM.
I don't know how to bring back a menu entry that was over written / Superseded by another OS being detected by update-grub; in this case Windows 7. I installed Ubuntu 11.04 at the end of many other Linux OS's. So it is a Multi-boot setup. Basically Windows XP has replaced the Windows 7 boot entry in the GRUB 2 Boot menu after running update-grub.
Then to get Windows 7 back I booted off the Windows 7 Install DVD and used the boot repair option. This then changed the working Windows XP Boot Loader to boot Windows 7 which I wanted but there was a catch. Windows XP didn't boot any more because it was replaced / Superseded. The Linux OS's boot fine.
I have Ubuntu 9.10, PuppyLinux431 and Windows XP on a Toshiba laptop. I like Ubuntu, but the speed of PuppyLinux is addictive, so that was my default boot until I upgraded Ubuntu which included an upgrade to Grub2.
My problem: Grub2 doesn't recognise PuppyLinux. Using information from [url] I have made an executable file named 07_Puppy in /etc/grub.d and did update-grub from root. Still no luck. I can boot PuppyLinux from the grub command line using the following commands:
Just before grub displays the boot menu, I think I see a very brief message about a syntax error, but it's gone before I can read it.
Here is the contents of my grub.cfg:
Quote:
Why Grub2 doesn't see Puppy and let me boot it from the menu?