LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-15-2006, 06:48 AM   #1
ishbo4
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Rep: Reputation: 0
Installing Grub with SUSE Live DVD and no other OS


This is very similar to another post I made but I am still stumped. Right now I have a broken windows xp installed as well as SUSE, which was installed before windows. When I installed XP, it overwrote the grub on the mbr, and since it is now broken I can only use my SUSE Live DVD to do anything. However, when I try to install grub with this Live DVD, I am told that I have no c compiler, and there are not enough resources on the system to install one. I assume this is because it is not an actual hard drive OS. Any help on how to restore my mbr with grub so I can use the installed Suse will be greatly appreciated.
 
Old 02-15-2006, 07:21 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
How did you install Suse on the computer.

You should be able to use disk 1 of the install set ( or just 1 disk if you used the DVD) and type 'rescue' at the linux prompt (that is the very first prompt that comes up after the BIOS POST).
 
Old 02-15-2006, 07:30 AM   #3
ishbo4
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I used the a disk I created to begin the online installation. Is this the one to use?

Another post had these instructions, which I tried:

Mount the partition (provide the correct HD notation for hdax):
# mount -o dev,rw /mnt/hdax

If it's already mounted, remount it like this:
# mount -o remount,dev,rw /mnt/hdax

Now, restore grub like this:
# chroot /mnt/hda1 grub-install /dev/hda

If the chroot method doesn't work, try remounting as outlined above and do:
# grub-install -root-directory=/mnt/hda1 /dev/hda
__________________

when i type mount -o dev,rw /mnt/sda3 (my linux native),
the response is "can't find /mnt/sda3 in /etc/fstab or /etc/mtab"
I can't get beyond this step. Any more help is appreciated.

bump

Last edited by ishbo4; 02-15-2006 at 12:46 PM.
 
Old 02-15-2006, 12:47 PM   #4
ishbo4
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Original Poster
Rep: Reputation: 0
bump, and this has to be 10 characters...
 
Old 02-15-2006, 07:12 PM   #5
ishbo4
LQ Newbie
 
Registered: Feb 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Unable to Mount/Boot installed Linux

I've posted another thread, but I think now I know a bit more and can ask a better question. I have both Suse 10 and windows xp installed on my system, with xp being installed second and having overwritten the mbr, so I see no grub options. My problem is that I do not know how to load my installed Suse 10. XP now doesn't work, so I could use the boot.ini even if I knew how. I am using a Suse 10 live cd, but I also an ultimate boot cd made, along with an internet installation disk for Suse that I used originally.

When I use the internet install disk to 'boot installed system' I am told that I need to remount root as read-write, using bash# mount -n -o remount,rw /
I try this and then CTRL-D to reboot, but the same message comes up. I also used a grub command to install grub on hd0 with root (hd0,2) since sda3 is my linux native, but when grub loads it tells me again that sda3 cannot be mounted.

How can I mount and/or boot my sda3 (linux native) so I can use my installed suse system?

thanks,
ishbo4
 
Old 02-16-2006, 01:52 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
bump, and this has to be 10 characters...
Per the LQ Rules, please do not bump your own thread until at least 24 hours have elapsed without a reply. Because the LQ membership is global, people in other time zones may not have seen this post yet, and thus it may take some time before a response is received.
http://www.linuxquestions.org/rules.php

Thats 24, not 5.

Thanks

Last edited by Tinkster; 02-16-2006 at 01:53 AM.
 
Old 02-16-2006, 01:54 AM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
And there was no need for a separate thread since you already
has started the topic of mounting in the original, so I've
merged them.


Cheers,
Tink
 
Old 02-16-2006, 07:21 AM   #8
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 54
I went through a similar deal recently and got lots of help from the great guys here. Since it's later here than in other parts of the world, I'll try to help. I am no expert but I understand my own situation reasonably well after fooling around with it for a long day.

If you have the XP installation disk (NOT an OEM recovery disk) you can rewite the MBR from Windows Recovery Console so you will be able to boot Windows. Maybe you want to do that first, and then start using a live CD (Kanotix is particularly good if you need to do anything more than fdisk) but if not, use whatever you have (I like Slax). You can build a lilo.conf easily by hand (example in the link) and when you write the MBR (like in the link back to this forum) you will be able to boot your Win & SUSE machines. Then you will have to figure out what you want to do with GRUB- there are experts here but I don't know anything about it.

Please read http://damnsmalllinux.org/cgi-bin/fo...11010;st=0;r=1

which will refer you back to a post on here.

You can use lilo to straighten everything out.

P.S. When you issue a mount command in bash, it only lives for the lifetime of the boot. So if you reboot, whatever you mounted becomes unmounted during shutdown. That is why nothing seems to change.

The main thing is not to panic, and not to fdisk, or install anything until this is fixed. The less you touch the better things will be until you've restore your boot record and can bring up your Windows machine.
 
  


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
Unable to mount CD Rom drive during boot harisund Linux - Hardware 0 11-24-2005 04:32 PM
Unable to mount ext slice at boot (RH9) Sigkill(9) Linux - Hardware 5 10-06-2005 12:10 PM
Unable to mount proc on boot - RH8 mikca Linux - Software 3 06-05-2005 10:17 PM
cdrom mount before Linux is installed tibs4eva Linux - Hardware 6 09-23-2004 01:43 AM
Unable to find/use Installed Packages in Vector Linux. rvijay Linux - Newbie 3 09-13-2003 04:48 PM


All times are GMT -5. The time now is 07:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration