Post #390,550
6/10/14 1:51:09 PM
|

Broken grub on a VM
I just upgraded to Ubuntu 14.04 and Grub is broken. https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1289977The solutions all involve bootable media. * The laptop I'm using doesn't have a CD/DVD drive. * The install is in a VirtualBox VM which doesn't offer the option of USB boot. * I tried LAN and it threw an error "Could not read from the boot medium." How do I boot and fix this thing? I have an iso of the Ubuntu 13.10 disk image. Is there a way to execute and run this without burning to a disk first?
|
Post #390,553
6/10/14 2:53:41 PM
6/10/14 3:00:04 PM
|

Where is this VM located?
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec

Edited by folkert
June 10, 2014, 03:00:04 PM EDT
|
Post #390,555
6/10/14 3:17:32 PM
|

VirtualBox, and no CD drive
I tried going into Settings->Storage and add an additional IDE controller pointed to the Ubunto ISO image. Tried every combination of attributes. When I boot, as soon as I select boot from CD it fails, unable to read drive.
|
Post #390,557
6/10/14 3:39:33 PM
|

Ok...
Step by step:
Open the Oracle VM VirtualBox Manager
Highlight your problematic machine
Select settings from the top
Click on Storage
There should be at the bottom that has a "+" on it and roll-over text says: "Adds a new controller to the End of the Storage Tree", Click on it.
Add "IDE Controller"
Select that new IDE Controller ensure it is "PIIX4" (Host I/O cache ... don't care works either way)
On that Controller there is now a couple of buttons with a "+" on them, roll-over on one says "Add Hard Disk" the other says "Add CD/DVD Device."
Select "Add CD/DVD Device."
Next a dialog comes up and states:
"You are about to add a new CD/DVD drive to the Controller IDE. Would you like to choose a Virtual CD/DVD disk to put in the drive or leave it empty for now?"
There are three buttons: "Cancel" "Choose Disk" "Leave Empty"
I prefer "Leave Empty"
Then Save an boot the "VM" immediately hit F12 to select boot device in the "VirtualBox temporary boot device selection" screen.
At this point in the Menu bar, there is a "Devices" selection. Choose "Devices" then choose "CD/DVD Devices" then choose "Choose a virtual CD/DVD disk file" then go chase down your ISO. Save the setting.
Click in the console of the VM, you should have a few choices there. typically the CD/DVD are "c"
Boot from there.
Please let me know you progress or issues.
Thanks.
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
|
Post #390,559
6/10/14 3:51:16 PM
|

Ah, selecting device from menu got it, thanks
|
Post #390,561
6/10/14 4:05:23 PM
|

If you want to be able to boot from CD/DVD all the time...
When off
Select your from the Manager.
Click Settings.
Click System.
Click on the CD-ROM and move it to the top of the boot order.
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
|
Post #390,563
6/10/14 4:25:39 PM
|

Question
Isn't the point of boot order that if the first in the list is not bootable it will fall to the next? When the virtual hard drive was failing, why wouldn't it fall to the CD?
|
Post #390,564
6/10/14 5:12:41 PM
|

Not so simple.
For the BIOS, "failed to boot" means "media not there". The hard disk is there. As far as the BIOS is concerned, it's booting.
Wade.
|
Post #390,565
6/10/14 5:16:00 PM
|

DING DING DING!
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
|
Post #390,574
6/10/14 8:50:30 PM
|

Makes sense
|
Post #390,576
6/10/14 9:01:57 PM
|

So... were you able to fix it?
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
|
Post #390,578
6/10/14 9:37:40 PM
|

Yup
Followed the rescue instructions and it looked like it failed. Restarted and it came up, but the display was horked. Restarted again and it's copacetic.
Seamless mode still doesn't work, but fulscreen is good enough.
|
Post #390,579
6/10/14 9:38:54 PM
6/10/14 9:39:22 PM
|

You'll have to...
reinstall the VBOX additions... again and let it compile the modules again.
I've had zero problem with VBOX and seamless mode.
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec

Edited by folkert
June 10, 2014, 09:39:22 PM EDT
|
Post #390,603
6/11/14 10:45:45 AM
|

With Unity?
The people I see reporting this same issue say it's with Unity and or distros based on Gnome 3.
|
Post #390,606
6/11/14 11:33:30 AM
|

Hmmm... funny.
I'll have to hold me nose and pretend it is an election year.
I'd D/L it and run unity... and see.
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
|
Post #390,607
6/11/14 11:47:48 AM
|

That's interesting
While I was looking through the other reports of this to see if there was any activity, someone mentioned a neat trick I didn't know was possible. In seamless mode you can drag a Windows program icon onto the Ubuntu launcher - assuming your launcher is working.
|
Post #390,616
6/11/14 12:44:36 PM
|

Hmmm I have it working.
I have seamless working and also the auto-resize guest working in non-seamless mode.
Sorry. I don't know how to help, other than install the guest additions and restart completely (shutdown and start)
Cheers.
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
|
Post #390,621
6/11/14 1:54:16 PM
|

You got me back to useable, I'll take that, thanks
|
Post #390,566
6/10/14 5:17:31 PM
|

Re: Question
The partition is marked as bootable. That is the Flag the BIOS looks for.
But since you (yes you! laddie!) screwed it up... it no worky, but the BIOS/whatever has completed its job properly.
-- greg@gregfolkert.net "No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
|