LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-14-2007, 02:53 PM   #1
computab
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Rep: Reputation: 0
Unhappy Ubuntu 4.07


Dell Inspiron 6000 laptop. The partition was dual-booting, Windows/ Ubuntu. It was changed with Norton Partition magic, now it will not boot. Started with Grub loading stage 1.5, then ERROR 17. Anyone know about this please?

Last edited by computab; 10-14-2007 at 03:16 PM. Reason: further info
 
Old 10-14-2007, 03:06 PM   #2
crash_override_me
Member
 
Registered: Aug 2005
Location: India, New Delhi
Distribution: Debian Etch, Ubuntu
Posts: 342

Rep: Reputation: 30
i think it must be ubuntu 7.04
installation was not able to put grub..
try re-installing again or recover grub

Last edited by crash_override_me; 10-14-2007 at 03:07 PM.
 
Old 10-14-2007, 06:08 PM   #3
computab
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
reinstall

Is it possible to reinstall without formatting, there is a lot of valuable data.
Thanks for your help.
 
Old 10-14-2007, 06:14 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
If you changed the partitions using "Partition Tragic" you get exactly what it says on the tin. The software is a Windows-based software and should never be trusted to alter a Linux. Most partition table corruption problems relating to hard disks are courtesy of this software, especially its older versions.

You can use the Ubuntu LIve CD to restore Grub.

Just click terminal and type
Code:
sudo su
grub
geometry (hd0)
The first partition of Type ID 83 should be the /boot or / of Ubuntu. Write down its partition number, say it is (hd0,2). You can then ask Grub to restore itself by command
Code:
root (hd0,2)
setup (hd0)
quit
Adjust the partition reference to suit your case. Restoring Grub is a reversible operation so no lasting damage is done if you get it wrong. If Grub report errors from the "geometry" statement then you have been sold down the river by Partition Tragic.

Last edited by saikee; 10-18-2007 at 07:51 AM.
 
Old 10-15-2007, 05:53 AM   #5
computab
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
boot

Hi,

I am try ing to use Infrarecorder, but I cannot find the 'Add boot image - advanced options' section, I cannot create a bootable disk.
 
Old 10-15-2007, 08:09 AM   #6
Brianret
LQ Newbie
 
Registered: Mar 2007
Location: Brittany
Posts: 15

Rep: Reputation: 0
Booting problem

Try this link :

http://www.users.bigpond.net.au/hermanzone/p18.htm
 
Old 10-16-2007, 05:18 PM   #7
computab
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
boot

Thanks for your help but that does not get me a bootable disk. If I run the Windows reinstall will that fix it,- no probably not because it is the grub loader that gives error 17. What does error 17 mean?
 
Old 10-16-2007, 05:41 PM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
If you Google "Grub Manual" you will see Error 17 is

17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.

---------------------------------------------------------------------
You can try to restore either Grub or Windows MBR. The commands are documented in the last link of my signature. But my fear is the Partition Tragic may have corrupted your partition table making the booting nearly impossible because the boot loader cannot locate the hard disk address to make a connection.

Everything should be revealed if you boot up a Ubuntu Live CD, click terminal and see the output from command
Code:
sudo su
fdisk -l
Had you followed my suggestion in Post #4 you should have Grub telling you the health of your partitions.

Last edited by saikee; 10-16-2007 at 05:50 PM.
 
Old 10-17-2007, 12:03 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by computab View Post
Is it possible to reinstall without formatting, there is a lot of valuable data.
That highly depends on the setup that you used when installing windows and/or ubuntu. If they have seperate partitions for the data, that will be possible. However, this now also depends on what you did when you changed things with Partition Magic? Removed partitons, resized partitions?

Further:
Your data is not valuable. If it was, you would have made sure that you had backups.
 
Old 10-17-2007, 09:03 AM   #10
computab
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
data

It's not my computer, it belongs to a 16-yearold, who is learning his first lesson about data backup. I only use windows, but I am just trying to help out with his Linux problem.
 
Old 10-17-2007, 03:13 PM   #11
computab
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
grub disk

I was not able to get a grub disk, I downloaded a file, SGD_current.iso, I could not find one with GZ, but could not extract it with 7.ZIP. I tried a second with no luck.

I have got a Ubuntu CD, but when I start the PC with it, it says,
(last 3 lines)
Caldera DR-DOS 7.03
copyright etc
DR-DOS A:>

I can change to c:, it's the Linux patition, D is Windows, E is CDROM with Ubuntu (I downloaded Ubuntu 7.04, and extractd to CD.
The only program in the root, is START, but does not work in DOS.
There are lots of folders, but what do I do next to restore GRUB, please?
 
Old 10-17-2007, 05:01 PM   #12
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
The advice I could offer is no better than those in Post #4.

You may be able to pull a rabbit DrDos out of a hat but that doesn't do Grub.
 
Old 10-18-2007, 07:42 AM   #13
computab
LQ Newbie
 
Registered: Oct 2007
Posts: 7

Original Poster
Rep: Reputation: 0
I now have a grub CD When I ran the following commands, it said
Command or filename not recognized.
sudo su
grub
I tried this at the A: prompt and the f: (CDROM) prompt.
Help please?
 
Old 10-18-2007, 07:57 AM   #14
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I have since gone back to Post #4 and changed the commands in Linux terminal to blue and commands at a Grub prmpt to red.

Read the Post #4 again and adjust as nessary for your parition that has /boot of Ubuntu. Remember Grub counts from zero so that the first partition of the first disk is called (hd0,0) hence my suggestion of using command "geometry (hd0)" to get the partition reference directly from the horse's mouth.

If you have a problem of convincing what partition has Grub inside you can ask Grub to tell you by this command
Code:
find menu.lst
The partition reference Grub replies is the "root" you need to specify to do a "setup (hd0)" restoring Grub back into the MBR.

Last edited by saikee; 10-18-2007 at 07:59 AM.
 
  


Reply

Tags
boot, dual boot, grub, loader


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
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM
aftr sudo cmd and pswd i get this E: Type 'http://archive.ubuntu.com/ubuntu' is not k turoblaztr Linux - General 1 01-14-2007 10:29 AM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
LXer: Printing with Ubuntu: Insights for a quick and easy Ubuntu printer installation LXer Syndicated Linux News 0 06-03-2006 09:54 AM


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

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