LinuxQuestions.org
Visit Jeremy's Blog.
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 12-21-2009, 07:33 AM   #1
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Rep: Reputation: 31
Ubuntu disc instal beside Mandriva produced error 18


I tried to instal Ubuntu beside mandriva, got error 18; since then my only OS is the ubuntu-from-diskdrive.
I've used the ubuntu partitioning tool to delete the couple of ubuntus I put on, and blundered about in it some more. If I take the instal route now from ubuntu disk, it shows that the 7.8 bit is the Mandriva 2009.1 and the 3.9 is swap, so my files I assume are still there, but inaccessible because of mangled partition structure - pretty sure lack of little boot bit at the beginning is crucial, but looking at the whole thing, I am obviously unqualified to do the surgery without help.
Can anyone help me back to being able to boot the installed Mandriva? Click image for larger version

Name:	Screenshot.png
Views:	18
Size:	51.5 KB
ID:	2259
 
Old 12-21-2009, 09:57 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
try that:
Code:
sudo grub
grub> root (hd0,0)
grub> setup
then reboot
 
1 members found this post helpful.
Old 12-21-2009, 06:30 PM   #3
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
Thumbs up

Merci Agrouf,

I got this far. Click image for larger version

Name:	Screenshot.png
Views:	22
Size:	66.6 KB
ID:	2265
partnew?,parttype?
 
Old 12-22-2009, 04:50 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Sorry about that, here is the right code:
Code:
sudo grub
grub> root (hd0,0)
grub> setup (hd0)
 
Old 12-23-2009, 02:18 AM   #5
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
Thumbs up

Agrouf, thanks! fixed. How do you know that fix? How can I learn these things? I want to talk to my computer like that some more, and even find out what it was I was saying! It's great!
Seriously thanks. Big relief to have OS back.
 
Old 12-23-2009, 04:45 AM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
All that the commands do is tell grub where are the files and install it on the mbr. I suppose your Ubuntu install fucked the grub install from Mandriva trying to install its own buggy one. If that was the last version of Ubuntu, it's probably grub2, which should not be used (it's still beta software).
If you want to know more about grub, you should read the manual:
http://www.gnu.org/software/grub/manual/grub.html
(grub2 coming soon to obsolete all that)
This is a long read. In short, you can access the grub interface with the grub command. At grub prompt, type 'help' to see a list of grub commands. The root command tells grub where to find the files and the setup command tells it to write itself to the hard drive.
If you have a lot of time and want to know a lot about how GNU/linux boots and works, you can install LFS on a spare partition:
http://www.linuxfromscratch.org/
It takes about 1 week if you take the time to understand everything. When you've done that, a lot of things appear very clear.
 
Old 12-23-2009, 01:10 PM   #7
widda
Member
 
Registered: Jun 2009
Location: Uluru
Distribution: Ubuntu 9.04
Posts: 167

Original Poster
Rep: Reputation: 31
Thumbs up

Thanks, IMO you are a good explainer.
I'll look at LFS online but will google "install LFS on a spare partition" before I resume any stomping about in partitioning LOL.
Yes it was latest Ubuntu disk.
 
  


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
Can't make a bootable mandriva disc from ISO Snump Mandriva 6 12-16-2006 06:46 AM
Mandriva linux 2006 freezes after instal t_mann Linux - Newbie 9 07-04-2006 04:21 AM
How to boot a mandriva instal on a xbox? r3r3 Mandriva 1 04-21-2006 05:19 AM
> Mandriva Wont boot after ndiswrapper driver instal dubstyle Mandriva 1 02-26-2006 07:14 AM
difference between distro produced by group vs. produced by single person lostsoul Linux - General 2 04-08-2004 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration