LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-14-2008, 12:35 AM   #1
jadehe
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Rep: Reputation: 0
Error Loading Operating System--Linux Ubuntu--Help


I am very new to Linux, heard it was pretty good from a friend. So I downloaded Linux Ubuntu and burned it to a CD and installed it. Now everytime I turn on my computer I get "Error loading operating system". I can boot from the Ubuntu CD, but I cant boot to my old disk drive. I try installing Ubuntu again and I get the error "The test of the file system with type ext3 i partition #1 of SCS13(0,0,0)(sda) found uncorrected errors. I was running windows XP before trying to install Ubuntu. My labtop is a Sony VAIO VGN-FE660G. I didn't get any start up CD's with my labtop because the files are supposed to be located on my hard drive. So if I ever needed to I could press F10 when loading to reinstall Windows. But now I can't even get there! So I guess I just need some help on what I should do. Thanks in advance!
 
Old 03-14-2008, 09:46 AM   #2
jadehe
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Original Poster
Rep: Reputation: 0
I forgot to add that I have 3 partitions, one being the 'ext3', another the 'extended' and the third 'linux-swap'. I would like to have both my Windows XP and Linux, and I don't have anything important on my drive so I don't care about loosing info.
 
Old 03-14-2008, 11:10 AM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,747

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
We need some information from you.

When you turn on the computer, do you get a menu offering the choice of two operating systems to boot: win xp and Ubuntu?

Boot the Ubuntu cd. Open a console and enter the command 'fdisk -l' without quotes. Write down the output and post it here. It will show us the arrangement of partitions.

Also open the file /boot/grub/menu.lst (have to be root to open it) and copy the contents of the menu (just the parts that show win xp and Ubuntu information, including the kernel and initrd lines).

Do it this way:
mount the partition in which ext3 is found: sudo mount /dev/sda2 (or whatever the correct partition is).
Then 'cd /mnt/sda2' (check the /mnt/and /media directories for the correct mount point).
Then cd to /mnt/sda2/boot/grub, and open menu.lst.

You can open the file this way: sudo vim /boot/grub/menu.lst. To scroll up and down, use the arrow keys. To close the file: press the Escape key, then enter :q! (colon q exclamation mark) and press enter.
 
Old 03-14-2008, 11:25 AM   #4
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Quote:
Open a console and enter the command 'fdisk -l'
Sudo fdisk -l
 
Old 03-14-2008, 11:57 AM   #5
jadehe
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Original Poster
Rep: Reputation: 0
When I start up my system I do not a menu offering two choices. So I booted with the Ubuntu live CD and went to the command menu and entered 'sudo fdisk -l'. This is what I got

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa17fead9

Device Boot Start End Blocks Id System
/dev/sda1 * 1 11787 94679046 83 Linux
/dev/sda2 11788 12161 3004155 5 Extended
/dev/sda5 11788 12161 3004123+ 82 Linux swap / Solaris

Last edited by jadehe; 03-14-2008 at 01:35 PM.
 
Old 03-14-2008, 01:36 PM   #6
jadehe
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Now when I entered 'sudo vim /boot/grub/menu.lst' I just got a bunch of '~'
I couldn't scroll and at the bottom was "/boot/grub/menu.lst" [New DIRECTORY]
 
Old 03-14-2008, 01:59 PM   #7
jadehe
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Original Poster
Rep: Reputation: 0
I tried to find '/boot/grub/menu.lst' but all I got were 6 files in the /boot folder named

abi-2.6.22-14-generic
config-2.6.22-14-generic
initrd.img-2.6.22-14-generic.bak
memtest86+.bin
System.map-2.6.22-14-generic
vmlinuz-2.6.22-14-generic

Hope this can help! Thanks again!
 
Old 03-14-2008, 03:10 PM   #8
jadehe
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Would downloading and using a Windows XP Emergency Boot CD help at all?
 
Old 03-14-2008, 04:56 PM   #9
aidave
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Rep: Reputation: 0
Hi I was having this very problem. In fact it was a real pain to get rid of it. I tried a few things:

- SuperGRUB boot CD (works)
- Ubuntu Server boot CD (has a GRUB install feature via repair)
- Linux System Rescue boot CD (has a GParted partition manager)
- Ubuntu Hardy Alpha CD

I am running on the Hardy Alpha Desktop. It did not work, but for some reason the SuperGRUB fixed it somehow. I cant tell how why. But try those first three tools. I think they will help you, they helped me. It is very frustrating tho.

Also, Ubuntu did not correctly identify which partitions were which. So from the GRUB menu I had to press "e" to edit, then switch (hd1,1) to (hd0,1) for example. You may have to play around with those once you get GRUB to work. I never did get XP to dual boot. I deleted it. *shrug*

good luck
 
Old 03-14-2008, 05:38 PM   #10
jadehe
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Well, I finally got it to work. I started with the Ubuntu Live CD as usual, and again I tried installing it for the um.... I lost count... number of times! But for some reason I got it to go through this time. Even though I couldn't dual boot it.
 
Old 03-15-2008, 08:08 PM   #11
handydan
Member
 
Registered: Mar 2005
Location: palmdale, california
Distribution: MEPIS 8; Debian (stable/testing)
Posts: 83

Rep: Reputation: 23
No dual-boot, and no wonder!

Quote:
Originally Posted by jadehe View Post
Well, I finally got it to work. I started with the Ubuntu Live CD as usual, and again I tried installing it for the um.... I lost count... number of times! But for some reason I got it to go through this time. Even though I couldn't dual boot it.
I can see why...

Quote:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 11787 94679046 83 Linux
/dev/sda2 11788 12161 3004155 5 Extended
/dev/sda5 11788 12161 3004123+ 82 Linux swap / Solaris
You don't have windows on that drive.
Maybe you used to....but that was then. This is now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error loading operating system josh@nsgrounds.com Ubuntu 6 11-11-2007 08:44 PM
Error loading operating system... ttnunam Linux - General 6 11-05-2006 06:01 PM
Error loading Operating system lamhuy Fedora - Installation 2 06-28-2006 06:59 PM
error loading operating system juvell Fedora - Installation 3 02-01-2005 03:56 AM
Error loading operating system blueuk Linux - General 3 12-15-2003 07:44 AM


All times are GMT -5. The time now is 12:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration