New answers tagged grub2
1
Mount your / partition in /mnt and your /boot partition in /mnt/boot, then chroot into the system and run dpkg-reconfigure grub-pc and choose the install location from the menu.
sudo -s
mount /dev/sda2 /mnt
mount /dev/sda3 /mnt/boot
for f in dev sys proc dev/pts ; do mount --bind /$f /mnt/$f ; done
chroot /mnt
dpkg-reconfigure grub-pc
1
Run the following command in a terminal (Ctrl+Alt+t):
dpkg -l | grep linux-image-.*-generic
Look for the kernel version you want to reinstall then run:
sudo apt-get install --reinstall linux-image-3.X.Y-ZZ-generic
Of course, you must type the real kernel version (e.g. linux-image-3.8.0-21-generic) instead of linux-image-3.X.Y-ZZ-generic.
0
Do you use a HDMI cable? If you do, try a VGA or DVI cable instead.
I had the same problem since upgrading to 13.04, and tried many of the same things as you, also without result. Last weekend, I saw in the log files that there was something about HDMI right before errors began. So I switched to a VGA cable, and haven't had any problems since then.
0
I fixed the problem. But it didn't worked in 13.04, only in the 12.04 LTS. I followed the instructions from this video to install the GRUB https://www.youtube.com/watch?v=-7HuurWJTJ4 (it's in portuguese but I think it's easy to everybody understand).
So tried to install the GRUB in 13.04 version but it won't work. So I downloaded and installed the 12.04 ...
1
You need to use the GRUB command prompt to boot the installed Ubuntu system first. Read the section "Booting Ubuntu installed on disk partitions" on this manual:
http://tuxers.com/main/instigating-a-manual-boot-from-the-grub-prompt/
Based on your HDD config, I guess your commands should be the following:
set root=(hd1,msdos1)
linux ...
0
Disable SecureBoot in your BIOS
run Boot-Repair --> Advanced Options --> tick Restore EFI backups --> Apply. Indicate the new URL that will appear. Reboot and indicate if Windows boots.
Run Boot-Repair's Recommended Repair, and write on a paper the new URL that will appear.
Reboot the PC. GRUB will appear. Indicate if Ubuntu and Windows can boot from the ...
0
I don't think a separate /boot is a bad idea, but I'll try to answer your question.
Outline:
Boot up a live OS (like lubuntu) off of a DVD in the drive, or by using a bootable USB stick.
Mount both /boot and / (root)
make a directory in / called /boot
copy or rsync over all the files
using gParted, delete the original /boot partition
I'll try to flesh ...
0
This is by far the best answer in my opinion:
http://tuxtweaks.com/2010/10/remove-old-kernels-in-ubuntu-with-one-command/
Follows the last command on the site above:
dpkg -l linux-* | awk '/^ii/{ print $2}' | grep -v -e `uname -r | cut -f1,2 -d"-"` | grep -e [0-9] | xargs sudo apt-get -y purge
0
I have done exactly as you do and got a similiar problem, and I start to suspect that it is the EasyBCD tool that is to blame, So this weekend I will do a complete reinstall of windows 8 and just try boot-repair instead. I am sure everything is installed but GRUB2 does not appear at all....
0
So you partitioned the disk yourself, or did you just shrink the Windows partition? Best way is to just shrink it and leave room at the end of the disk so the installer can partition it.
Next you should choose install in the live-CD (on USB or whatever) and have choose 'something else' in the installer.
Then you should specify the partitions you would like ...
0
It did do the boot repair; the entry entitled Windows UEFI bkpbootmgfw.efi should boot Windows. If it doesn't, I recommend you try the following procedure:
Disable Secure Boot in your firmware. Unfortunately, the details of how to do this vary from one computer to another, so I can't be more specific.
Use the Boot Repair tool again, but click "Advanced ...
0
I came across here because I was tired of burning countless bootable ISO images and thus wanted to use GRUB 2 to bootstrap a FreeDOS one for updating the firmware/microcode of Seagate HDDs. As a complement or alternative to mivk's answer (using memdisk of syslinux), the following was what I had done to leverage the power of GRUB 2:
Install syslinux-common ...
0
The Ubuntu alternate installer in 12.04 will do that for you as well as the newer installers in 12.10 and 13.04 during install of the OS.
1
TrueCrypt does not support full system drive encryption on Linux. If you want full drive encryption on Linux you'll want to use something like ecryptfs. However, full drive encryption on Linux may be a bit too much; you really need to only protect the /home, /var and /opt directories.
TrueCrypt system encryption: ...
0
Yes, you can use (in Windouws) EasyBCD - a Windows tool that allows you to create a multiboot environment in order to run multiple operating systems on the same computer.
After you fix Windows bootloader, when you will go in Ubuntu, Grub will appear anyway. To prevent this, you must to edit /etc/default/grub file (sudo gedit /etc/default/grub) and make ...
0
Just resolved the same issue for me. Here what I've done:
Disabled previous framebuffer (was vga16fb for me) and enabled uvesafb:
/etc/modprobe.d/blacklist-framebuffer.conf :
...
blacklist vga16fb
You can find what framebuffer is currently is use using lsmod | grep fb command.
/etc/modprobe.d/framebuffer.conf :
options uvesafb mode_option=1680x1050-24 ...
0
Set the normal text color to match the background color. Use Grub Customizer.
0
I don't know if you have solved this question, but even though it's a bit late, I have been playing with Grub Customizer which allows you to edit most parts of the Grub system.
0
I found what this problem was.
The issue was that, when I upgraded Ubuntu, by installing through a liveUSB instead of doing a normal upgrade, it left behind the old kernel files in the /boot folder.
Now that I have upgraded in the same way from 12.10 to 13.04, I encountered the same situation.
The solution is to manually delete all the files related to ...
0
Turned out to be dead simple.
$update-grub
found the newer kernels and set the latest one as the default.
Now all I have to do is remove the old ones.
Plenty on documentation on that subject.
Thanks for all the pointer.
0
After much reading, I figured out the problem. Turns out it had nothing to do with UEFI.
My Windows 7 drive had some RAID 0 metadata on it. My PC does NOT have a RAID array, but my OEM set it up this way for some reason. Apparently this metadata interferes with GRUB2's ability to search the drive. Therefore you have to remove the metadata.
If your PC does ...
0
it appears .. you are having missing/corrupted root partition issue! Did you make alterations to your logical volume after the ubuntu installation? is ubuntu virtualized or dual boot? answer to this would help you on how to backup and possibly .. try to reinstall ubuntu and recover your system..
Regards!
0
Log in on a tty1 (Ctrl+Alt+F1) and run these commands:
export PATH="/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$PATH"
sudo chown -R $USER:$USER /home/$USER/
You can replace $USER with your actual username.
Now, try logging in again.
0
You can do a Persistent install using Startup disk creator however a Full install has several advantages, it can be upgraded/updated, is more secure, and boots much faster than a Persistent install, also a Persistent install is initially limited to a 4GB persistence) file as it is FAT32. Persistence can be increased by using an ext2 partition named casper-rw ...
0
Yes you can use a usb stick, but it's a little more difficult to get the usb stick to boot. If you have access to another system running ubuntu, I'd suggest you download the lts desktop iso file, and then use ubuntu's startup disk creator to create a bootable live usb stick (I think it's called statrup disk creator - if you're running Unity, just search in ...
0
You could just set up a schedule in windows to reboot whenever you want and configure grub to default boot into ubuntu.
0
Sounds like a bit of a predicament you're in. If you've given your root account a password, su may allow you to elevate privileges and add your user to the group "sudo" or "admin".
If not, have you tried running a live CD? You should be able to mount your root partition from the Ubuntu live CD fairly easily, say to /mnt/tmproot/, and add this line somewhere ...
0
If your user name is as an example jlin, you should be able to sudo, if you entered your name as the sudo user when you installed Ubuntu.
If you want to add another user or if your username did not install Ubuntu, then you must log in as that user who installed Ubuntu, enter sudo -i to get root prompt; and then enter this command visudo.
I usually add ...
0
I have had this problem before. First thing you could try would be to try the recovery mode if you can see the grub menu at all. If you can't see the grub menu, create a live cd/dvd of ubuntu, and then use the chroot commannd to change to the root of your ubuntu installation on your harddrive, and then use the update-grub and it should configure your ...
0
Does How to reinstall a apt-get dist-upgrade? help?
Also, deleting the newest kernel package (as mentioned in the link) and performing a sudo apt-get dist-upgrade again may help, once you've cleared space.
0
I have to say it is very frustrating to see all the these tools (boot-repair, rEFInd, etc.) being recommended over and over and again and again, while the cause is unclear and the actual issues being treated like witchcraft.
Food for thought: Running 100 tools while not understanding the issue, might in some cases solve your problem, but might also not ...
0
I used two parameters in /etc/default/grub:
# 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=1366x768x24
# bug workaround
GRUB_GFXPAYLOAD_LINUX=keep
I found the second item by reading the shell scripts in ...
0
I used two parameters in /etc/default/grub:
# 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=1366x768x24
# bug workaround
GRUB_GFXPAYLOAD_LINUX=keep
I found the second item by reading the shell scripts in ...
0
The problem was that on my previous machine I used the kernel option acpi=off because it was required. It is not required on this machine, so removing it from all my grub2 kernel lines fixes my original problem.
This old bug tipped me off. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/190492 The pci=nomsi workaround from that bug didn't help, but it ...
0
First, your partition type codes are messed up. Your first three partitions are all flagged as EFI System Partitions (ESPs), but only the first one should be of that type. Your partition #2 should almost certainly be of "Microsoft Basic Data" type. I'm not sure about your partition #3. You can change partition type codes with gdisk, using its t option. Be ...
0
I had the same problem when I installed Ubuntu 13.04 on the Asus g55vw with Nvidia gtx 660M. On my case it booted the live cd and installed Ubuntu without a hitch. The installation completed with a success. Once it rebooted it went straight into the black screen.
My FIx.
I disabled secure boot and fast boot from bios
Boot into GRUB. Hold shift from the ...
-1
This will work if your file system is intact. The question is "why would I want to be on the console at this boot level?"
If for example: your fstab has wrong entries, because you followed one of those tutorials or you have just experimenting, you are major hosed.
Ubuntu insists to load the wrong file system although there is a message saying to Press 'S' to ...
0
USB sticks can be setup using grub2 using this helpful article. http://rww.name/grub2iso.html
I find using the loopback of grub2 invaluable for testing out new isos without requiring a usb stick or burning to CD. There are bugs filed against Fedora to make something similar work. Tracking down the current status is a little bit time consuming.
...
0
Boot from a liveCD/USB and then try to mount your data partition (any distribution will do, but a rescue system is preferable because of the extra recovery tools you'll get pre-installed). If you are successful mounting your disk make a back-up of your important files IMMEDIATELY to some external drive. If you have more than one partition, don't waste time ...
0
Try checking out this partition after launching Ubuntu from Live-DVD or Live-USB.
If You can mount and open it in Nautilus You can do backup then. Déjà Dup is a default application for that and You can use it in Live session as I know. Or just copy files which are important for You.
After that I would recommend to once again try Boot Repair, but using ...
0
Not 100% sure, but it looks like you have a bad partition table or file system. You will never be able to boot if you can't even mount the root partition. If there's no data on the drive of importance then I suggest re-partitions and formatting. If there is important data then restore from backups, if you don't have backups, then shame on you!!!
That said, ...
2
Go to Control Panel, Add/remove programs, double click on Ubuntu
Although Wubi is well known to install Ubuntu inside Windows, it also contains a helper menu if you open an Ubuntu DVD in Windows. It does not offer to install inside Windows by default anymore.
The first option (Reboot) simply reboots the computer.
The second option does nothing (you will ...
0
What about updating the Grub using command
sudo update-grub
UPDATE
I tested in my Installation and it Worked. If it does not for you (as per your comment) I would suspect that your Windows boot partition got a problem. I suggest you repair your window using CD (Note that just a startup repair is enough if it fails then go to commandline from the same cd ...
-2
it was several times topic in this area ...
here is link to older posting at askubuntu.com
How do I edit GRUB menu
please rate for me ! - if it is not too much work to rate for me ...
1
OK, To install Grub-Customizer, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo add-apt-repository ppa:adabbas/1stppa
sudo apt-get update
sudo apt-get install grub-customizer
Once installed, search for it in Dash, and then click on the icon, and it will open. See images below.
To run it from ...
0
Actually what you need is a MultiSystem. It uses similar option as GRUB and you can mount almost any ISO file. Worked well for me.
http://liveusb.info/dotclear/
0
If they are both on the same harddrive and you just completely removed the ubuntu partitions, depending on your windows 8 setup (EFI/Legacy) you may be able to repair it with a live CD. I just fixed MBR with Boot-Fixer with windows on legacy mode.
0
If I understand your setup, GRUB is useless unless the external hard disk is plugged in, so the easiest and safest solution is simply to ignore the Linux/GRUB entry in rEFInd when the external disk is disconnected. If there's some reason why this is undesirable or impossible, please elaborate.
0
im going to guess you are trying to install without a disc, im my experience the iso mounting occurs when the system loads and its after grub, may i suggest opening or mounting the iso and copying the files onto a USB, that should work, oh and make sure the partition settings of the usb are the same, eg the partition can be booted.
If yyou are trying to ...
0
Yes, it is possible. The installer offers you that option, you have to select advanced partitioning though and set mountpoints.
http://ubuntuforums.org/showthread.php?t=1906884
Top 50 recent answers are included







