LinuxQuestions.org
Review your favorite Linux distribution.
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-12-2007, 05:30 AM   #1
dth1
Member
 
Registered: Oct 2004
Location: Stoney Stanton - England
Distribution: openSuse 13.1 64 bit
Posts: 324

Rep: Reputation: 32
Grub Install Problem with Opensuse 10.3


Having a problem with Grub under OpenSuse 10.3.

I start the installation (using free space) on a p/c which also has win xp. The first part of the installation goes fine (and shows that it is installing the bootloader based on the defaults to the mbr) but when my system re-boots it goes into windows as grub has not been installed.

I booted to Opensuse using the 10.3 CD and tried re-installing grub (using yast) and then tried the c/l way as su grub-install /dev/fd0 but still nothing.

Is there anything else I can try?
 
Old 10-12-2007, 05:47 AM   #2
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
Quote:
grub-install /dev/fd0
tells me you told Linux to "replicate" the booting instruction on device (fd0) which is a floppy disk. So did you have a floppy disk made this way? It contradicts with your early statement of
[quote]shows that it is installing the bootloader based on the defaults to the mbr[/url]

To ask any Linux to install Grub into MBR with Suse 10.3 the command in "root" console (i.e. with root privilege) should be
Code:
grub-install /dev/sda
If you don't have root privilege Suse will just ignore your command. To get root privilege you need to type "su" at the terminal and supply the root password to get yourself into root.

Last edited by saikee; 10-12-2007 at 08:10 AM.
 
Old 10-12-2007, 06:09 AM   #3
dth1
Member
 
Registered: Oct 2004
Location: Stoney Stanton - England
Distribution: openSuse 13.1 64 bit
Posts: 324

Original Poster
Rep: Reputation: 32
Thanks for your posting.

I tried saving grub to the floppy as nothing had been saved to the mbr (through yast). I had not thought of using the c/l to try and re-install grub to the mbr and will try this tonight.

Thanks again.
 
Old 10-12-2007, 07:21 AM   #4
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I haven't installed 10.3 yet but you should be able to boot the cd/dvd and do a repair. It will ask you where to install the grub, sometimes it will be under "expert" option or something similar.

Last edited by Larry Webb; 10-12-2007 at 07:23 AM.
 
Old 10-12-2007, 08:11 AM   #5
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 am not a big fan of Desktop or Suse's Yast when it comes to working with the boot loaders.

The information I supplied in CLI will work in "every" Linux.

One will have a job to find a distro that has Yast the moment one steps outside Suse.

I would have thought knowing how a generic method in CLI by using "any Linux Live CD" to rescuse "any unbootable Linux" is something worth to know, even not to discover the installation CD is using the same method nor to understand the principle behind.
 
Old 10-12-2007, 10:01 AM   #6
dth1
Member
 
Registered: Oct 2004
Location: Stoney Stanton - England
Distribution: openSuse 13.1 64 bit
Posts: 324

Original Poster
Rep: Reputation: 32
Many thanks for the postings.

I did try the repair option using the opensuse dvd without success. I will try the c/l option but suspect that my problem is that opensuse/yast has not properly installed grub (for some strange reason) on my system.

I have tried a few installs and used different media again without any luck. It could be some strange problem with opensuse/kernel my hardware - as opensuse 10.2 always installed without any problems.

Will post back tonight once I have tried grub-install /dev/sda.

Thanks again
 
Old 10-13-2007, 08:40 AM   #7
dth1
Member
 
Registered: Oct 2004
Location: Stoney Stanton - England
Distribution: openSuse 13.1 64 bit
Posts: 324

Original Poster
Rep: Reputation: 32
Got to the bottom of my problem - it was down to opensuse not mapping out my hard drives correctly. Yast was mounting the different partitions right but had my first hard drive (sda) as hd1 and my second hard disc (sdb) as hd0. The problem was that yast was trying to save grub at the mbr (that does not exist) on sdb. When I corrected the device.map config file - yast got even more confused.

The easiest option, I found, was to install opensuse 10.2 (which set up everthing correctly) and do an upgrade to 10.3 (which used the system seeting from 10.2).

Thanks again for posting. Much appreciated.
 
Old 10-13-2007, 09:43 AM   #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
I think the easiest way out is to forget Yast and take the matter in you own hand by getting/editing device.map, menu.lst and fstab right. Therefore no software can touch you.

It ia folly that a computer program like Yast should be trusted to do every thing right regardless the millions different combinations it encounters in a PC hard disk. Every software is liable to have bugs.
 
Old 10-13-2007, 11:31 AM   #9
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
saikee I don't think no one will argue with your knowledge about boot loading and you're probably right about YaST but I believe that is one of the reasons a lot of people choose Suse. It makes the installation of software a lot easier and you don't have to worry about having all your dependences. It tends to make the system a little fatter but also easier if everything works the way it is supposed to. Apparently from what I have read so far YaST in 10.3 is broke like 10.1 used to be. What I'm trying to say is that a lot of us are not sharp with CLI and the reason I chirped in was it appeared dth1 was trying to repair through YaST.
 
Old 10-13-2007, 04:04 PM   #10
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
Larry Webb,

Point taken.

I was merely saying Linux users be prepared flexible and to accept programs may have bugs.

Yast has a graphic version but also a text mode too. I run every version of it since 9.1. I entered Linux through Suse too.
 
Old 10-14-2007, 02:21 PM   #11
dth1
Member
 
Registered: Oct 2004
Location: Stoney Stanton - England
Distribution: openSuse 13.1 64 bit
Posts: 324

Original Poster
Rep: Reputation: 32
I think it is what you are used to. I've been using Suse since version 8.1 and am used to the yast way of doing things and rpm's. Can change config files and the like and am now an expert on grub - after my recent problems!

Possibly a better approach is apt (rather than rpm) but I didn't like that much when I tried Kubuntu. Only installed from source once - k3b and it was a good feeling when I finally got it going but give me a rpm any day.
 
  


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
problem to install skype on opensuse 10.2 dissident_goodchild Suse/Novell 20 10-22-2007 07:28 AM
Install problem on opensuse 10.2 pjbgravely Suse/Novell 7 05-18-2007 10:40 AM
Change grub install from kubuntu to opensuse wookieface Linux - Software 7 05-11-2007 12:47 PM
GRUB gives error messages after a OpenSuSE install attempt on a External HD mandrakethepenguin Linux - General 1 01-19-2006 03:37 PM
Install/Boot problem with OpenSuSE 10 FKereki Linux - Laptop and Netbook 0 10-19-2005 11:19 AM


All times are GMT -5. The time now is 09:56 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