LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GRUB n00b (https://www.linuxquestions.org/questions/linux-newbie-8/grub-n00b-793271/)

epicasian 03-04-2010 05:31 PM

GRUB n00b
 
After I installed the latest updates to my (wubi)Ubuntu, i can only boot into the GRUB prompt. It used to be where i could choose a kernel(it think that's what they're called) from the list,

What can i do?

and sorry for the n00bishness,
EpicAsian

edit: please help, i hate windows

murankar 03-04-2010 06:23 PM

First off it sounds like the grub file got hosed at some point. unless you know how to edit the file then you may want to re-install ubuntu with the latest iso. The file you need to view would be /boot/grub/grub.conf (redhat location may be different for ubuntu.)

If you need to use windows, but want to run ubuntu run windows in virtualbox within ubuntu that way you only have one os in grub and will make your life a lot easier in the future.

i hope this helps if not just keep posting until you get an answer.

epicasian 03-04-2010 06:35 PM

i installed ubuntu from wubi, so i couldn't edit the file since i can't access the virtual disk's contents?

besides that, would i (worst case scenario) have to format a partition to ext3 (i believe) to install ubuntu?

thanks again,
EpicAsian

lupusarcanus 03-04-2010 07:11 PM

define: grub prompt

Also, you can stop referring to yourself as a n00b. We all start somewhere :)

epicasian 03-04-2010 07:23 PM

grub prompt:http://img188.imageshack.us/img188/5953/1000802w.jpg

and i always consider the trolls/flamers before posting :D

thanks again,
EpicAsian

lupusarcanus 03-04-2010 07:26 PM

Quote:

Originally Posted by epicasian (Post 3886296)
grub prompt:http://img188.imageshack.us/img188/5953/1000802w.jpg

and i always consider the trolls/flamers before posting :D

thanks again,
EpicAsian

Ah, I see (literally, lol)

So, if you type a known command into the prompt, does it register or result in an error?

epicasian 03-04-2010 07:30 PM

i type in the commands to load the Linux kernel and boot, and it restarts,

thanks again,
EpicAsian

lupusarcanus 03-04-2010 07:44 PM

Hi EpicAsian,

We need the most detailed and accurate description of the problem as possible. Include any errors, exactly what happens, solutions you have tried, etc.

Do not worry if it is long, or than you sound like a 'n00b', because that is what we are here for and thats what I am expecting, seeing this is the Linux-Newbie section. You don't have to ask to ask. But we need the most information we can get. Give us every little detail and we tell you how to get back on track.

:)

epicasian 03-04-2010 08:00 PM

honestly, leopard, i load the latest kernel, and boot and it restarts, i load a kernel that's in the middle of the kernel list in the /boot/ folder, and it restarts, i don't know what else to say except that.

thanks again,
EpicAsian

jefro 03-04-2010 08:06 PM

Boot to a live cd to see how it views the install then might edit it or return the install to how it was.

Wubi may have issues if you installed xp on a non-boot order drive. Such as some of the OS files are on what should be the C drive but XP was actually installed in D: Does that make sense? Anyway wibi still has some issues.

epicasian 03-04-2010 08:17 PM

Is there anyway I can extract the files that I want from the Wubi Virtual Disk?

Thanks again,
EpicAsian

lupusarcanus 03-04-2010 08:33 PM

Well, I'm going to go way out off the way to help you here, because that offers very little information. You should always try to solve your problems your self, and then post your failures alongside your problem. :) But I will try to help you...

Ok, well, first we are going to have to diagnose the problem.

To do this we will need to obtain a Live Linux CD/DVD/USB. Get the regular Ubuntu install CD. After you have obtained the Live CD/USB/DVD, we will have to get access to the file system. Boot up the Live CD (not Windows), and select 'English', and select the option "Try Ubuntu without making any changes to your computer." Wait for it to load up all the way. Then by opening a Terminal, enter these commands (credit to Yashiro of ubuntuforums.org):

Code:

sudo mkdir -p /media/Windows
sudo mount -t ntfs /dev/sda1 /media/Windows
sleep 1
sudo mkdir -p /media/root.disk
sudo mount -o loop /media/WindowsXP/ubuntu/disks/root.disk /media/root.disk
sleep 1
gksu nautilus /media/root.disk

Now, you should see the Nautilus File Browser come up with your Wubi installs files. This will give us access to important log files.

Browse to the file located at '/var/log/dmesg', and open it up in a text editor. Save the file to your Windows desktop. (You should see this in Nautilus)

After that, browse to the file located at '/boot/grub/grub.cfg', open it up in a text editor, and save the file to your Windows desktop. (You should see this in Nautilus)

Then, post both those files AS ATTACHMENTS here on the forum and we will attempt to diagnose the issue.

Hopefully all will go as planned. (I had to get the Wubi mounting instructions from google...) :)

epicasian 03-30-2010 10:19 AM

2 Attachment(s)
Okay, here are the files...

Thank you again,
EpicAsian

ps. sorry that I haven't posted in a while...I've been busy


All times are GMT -5. The time now is 05:16 PM.