IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Broken grub on a VM
I just upgraded to Ubuntu 14.04 and Grub is broken.
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1289977

The 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?
--

Drew
New Where is this VM located?
If on your local machines/laptop?

What VM system you using?

VMWare, VirtualBox allow you to define a CD/DVD to use an image.

KVM, XEN I believe also do... but I'v not had direct recent expo with either.

--------------------------
In Virtual Box, you need to add an IDE controller, then the CD/DVD as an image.

In VMWare your machine should probably already have a CD/DVD, "connect an image" or some such and you should be golden.

For Xen, it looks pretty straight forward:
http://wiki.xen.org/wiki/CD_Rom_Support_in_Xen

KVM/QEMU looks pretty simple as well:
http://doc.opensuse.org/documentation/html/openSUSE_114/opensuse-kvm/cha.libvirt.config.html
http://serverfault.com/questions/373372/how-to-connect-a-cdrom-device-to-a-kvm-qemu-domain-using-command-line-tools
--
greg@gregfolkert.net
"No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
Expand Edited by folkert June 10, 2014, 03:00:04 PM EDT
New 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.
--

Drew
New 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
New Ah, selecting device from menu got it, thanks
On to the next step.
--

Drew
New 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
New 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?
--

Drew
New 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.
New DING DING DING!
--
greg@gregfolkert.net
"No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
New Makes sense
--

Drew
New So... were you able to fix it?
--
greg@gregfolkert.net
"No snowflake in an avalanche ever feels responsible." --Stanislaw Jerzy Lec
New 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.
--

Drew
New 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
Expand Edited by folkert June 10, 2014, 09:39:22 PM EDT
New With Unity?
The people I see reporting this same issue say it's with Unity and or distros based on Gnome 3.
--

Drew
New 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
New 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.
--

Drew
New 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
New You got me back to useable, I'll take that, thanks
--

Drew
New 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
     Broken grub on a VM - (drook) - (18)
         Where is this VM located? - (folkert) - (17)
             VirtualBox, and no CD drive - (drook) - (16)
                 Ok... - (folkert) - (15)
                     Ah, selecting device from menu got it, thanks - (drook) - (14)
                         If you want to be able to boot from CD/DVD all the time... - (folkert) - (13)
                             Question - (drook) - (12)
                                 Not so simple. - (static) - (10)
                                     DING DING DING! -NT - (folkert)
                                     Makes sense -NT - (drook) - (8)
                                         So... were you able to fix it? -NT - (folkert) - (7)
                                             Yup - (drook) - (6)
                                                 You'll have to... - (folkert) - (5)
                                                     With Unity? - (drook) - (4)
                                                         Hmmm... funny. - (folkert) - (3)
                                                             That's interesting - (drook) - (2)
                                                                 Hmmm I have it working. - (folkert) - (1)
                                                                     You got me back to useable, I'll take that, thanks -NT - (drook)
                                 Re: Question - (folkert)

Nine for Mortal Chellovecks doomed to snuff it.
111 ms