Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 08-27-2005, 01:40 PM   #1 (permalink)
 
Super Techie

Join Date: Dec 2004

Posts: 467

TheRecluse

Default I messed my GRUB file up

I installed Ubuntu, and GRUB didn't add Windows to the list, so I tried editing it myself, but I did it wrong somehow. Now when I try to boot I get an error. Error 17 I believe it says.

I tried to use my Ubuntu live cd to fix it, but I can't seem to mount my partition.

root@ubuntu:/boot # mount /dev/hda1 /mnt/lin/
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Maybe I didn't write it into fstab correctly?

/dev/hda1 /mnt/lin ext2 defaults 0 0

that's what I put into fstab to mount it.
__________________
TheRecluse is offline  
Old 08-27-2005, 07:04 PM   #2 (permalink)
 
Wizard Techie

Join Date: Mar 2004

Posts: 3,545

GameGURU is on a distinguished road

Default

Can't you boot a system rescue from the cd?
__________________
15'' Macbook Pro
Intel Core 2 Duo 2.16ghz
x1600 128MB
1GB DDR2 SDRAM
Windows XP/Mac OSX 10.5


No longer a Guru of games...
GameGURU is offline  
Old 08-28-2005, 01:52 AM   #3 (permalink)
 
Super Techie

Join Date: Jul 2004

Posts: 398

kostas

Default

it seems that you put the first partition of the first hdd as where linux is. is that correct? if not tell me which partitions are the OS's installed in and i'll try and write you a grub.conf.
__________________

kostas is offline  
Old 08-29-2005, 01:53 AM   #4 (permalink)
god
 
Banned

Join Date: Jun 2005

Posts: 39

god

Default

did you try
$ update-grub



it should automatically find all the operating systems and add them to the list.
god is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On