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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
03-26-2009, 02:38 AM
|
#1
|
|
Member
Registered: Nov 2008
Location: South Africa
Distribution: Debian
Posts: 138
Rep:
|
grub loader
i was dual booting vista and ubuntu but i have now taken off vista. however the microsoft bootloader is still in the list. how do i get rid of it and automatically boot into ubuntu?
|
|
|
|
03-26-2009, 02:46 AM
|
#2
|
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,354
Rep: 
|
Quote:
Originally Posted by bcbotha
i was dual booting vista and ubuntu but i have now taken off vista. however the microsoft bootloader is still in the list. how do i get rid of it and automatically boot into ubuntu?
|
Two ways first edit you menu.lst
As root or su vi /boot/grub/menu.lst and remove the lines you did not need
anymore.
Ore
Second install with synaptic the grub editor and you get it as a option application>system tools and you remove the lines you do not need any more
|
|
|
|
03-27-2009, 03:02 AM
|
#3
|
|
Member
Registered: Nov 2008
Location: South Africa
Distribution: Debian
Posts: 138
Original Poster
Rep:
|
im needing help. i got rid of microsoft from grub but i think i messed up grub. i cant log on to my machine. i get
Error 11: Unrecognized device string
Press any key to continue...
this happened after i tried to install grub 2 and had a problem installing it. so i tried to uninstall it. i moved everything from my microsoft partition to this partition and now its not booting up. i do have a live cd with me if that will be any use.
|
|
|
|
03-27-2009, 03:16 AM
|
#4
|
|
Member
Registered: Jan 2009
Location: The Netherlands
Distribution: Centos,Ubuntu,Mandriva,Suse11.1
Posts: 86
Rep:
|
Quote:
Originally Posted by bcbotha
im needing help. i got rid of microsoft from grub but i think i messed up grub. i cant log on to my machine. i get
Error 11: Unrecognized device string
Press any key to continue...
this happened after i tried to install grub 2 and had a problem installing it. so i tried to uninstall it. i moved everything from my microsoft partition to this partition and now its not booting up. i do have a live cd with me if that will be any use.
|
Try to reinstall your boot loader Grub , see the steps in this documentation how to reinstall Grub
after reinstalling and reboot of your computer you will have everything working again
Last edited by vlademir; 03-27-2009 at 04:59 AM.
|
|
|
|
03-27-2009, 03:30 AM
|
#5
|
|
Member
Registered: Nov 2008
Location: South Africa
Distribution: Debian
Posts: 138
Original Poster
Rep:
|
i did try earlier from the live cd but it didn't work. ill take a look at the link, i might not have done it properly.
thanks
|
|
|
|
03-27-2009, 03:46 AM
|
#6
|
|
Member
Registered: Nov 2008
Location: South Africa
Distribution: Debian
Posts: 138
Original Poster
Rep:
|
im doing what it says but when it says type
i get
Code:
Error 12: Invalid device requested
the partition that grub is installed on is hd0,1.
what do i do from here?
|
|
|
|
03-27-2009, 04:58 AM
|
#7
|
|
Member
Registered: Jan 2009
Location: The Netherlands
Distribution: Centos,Ubuntu,Mandriva,Suse11.1
Posts: 86
Rep:
|
because the partition that grub is installed on is hd0,1.
you have to use
instead of root (hd0,0)
and then the command bellow to install it on hd0, that is MBR of the first HD.
then type
exit
Last edited by vlademir; 03-27-2009 at 05:09 AM.
Reason: add a command
|
|
|
|
03-27-2009, 05:03 AM
|
#8
|
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,354
Rep: 
|
Quote:
Originally Posted by bcbotha
im doing what it says but when it says type
i get
Code:
Error 12: Invalid device requested
the partition that grub is installed on is hd0,1.
what do i do from here?
|
AS I do not know how you try the above command I do not know if its works ,normally the next commands we do it from the rescue mode
chroot/mnt/sysimage
grub install /dev/sda
exit
Hope it works
|
|
|
|
03-27-2009, 05:33 AM
|
#9
|
|
Member
Registered: Nov 2008
Location: South Africa
Distribution: Debian
Posts: 138
Original Poster
Rep:
|
do i type
chroot/mnt/sysimage
grub install /dev/sda after i have typed
setup (hd0)
|
|
|
|
03-27-2009, 06:33 AM
|
#10
|
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,354
Rep: 
|
Just type
Chroot/mnt/sysimage
grub install /dev/sda
exit
Some linux distro ask for the exit command some not
If you have a rescue mode than GRUB is install on sda and than try to reboot
|
|
|
|
03-27-2009, 07:39 AM
|
#11
|
|
Member
Registered: Nov 2008
Location: South Africa
Distribution: Debian
Posts: 138
Original Poster
Rep:
|
Chroot/mnt/sysimage
grub install /dev/sda
doesn't work, i get the Error 12 message again. Any ideas what else i can try?
|
|
|
|
03-27-2009, 08:03 AM
|
#12
|
|
Member
Registered: Nov 2008
Location: South Africa
Distribution: Debian
Posts: 138
Original Poster
Rep:
|
im running off the live cd and my ubuntu partition is dev/sda2. if i right click on it and go to infomation the status is Not mounted?
|
|
|
|
03-27-2009, 08:13 AM
|
#13
|
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,354
Rep: 
|
Quote:
Originally Posted by bcbotha
im running off the live cd and my ubuntu partition is dev/sda2. if i right click on it and go to infomation the status is Not mounted?
|
Of course is you're Ubuntu on sda2 . because SDA1 is normally windows
To be honest I am out of options maybe the quickest solution is
reinstalling Ubuntu
And if Ubuntu will be you're only Os let her use the hole disk .
If you later on decided to dual boot or triple boot with a other linux Oss it is always possible to shrink the partitions
Or divide you HD now in several partitions
Last edited by ronlau9; 03-27-2009 at 08:17 AM.
|
|
|
|
03-27-2009, 08:16 AM
|
#14
|
|
Member
Registered: Nov 2008
Location: South Africa
Distribution: Debian
Posts: 138
Original Poster
Rep:
|
but then how do i get all my stuff off...can i or will i loose it all?
|
|
|
|
03-27-2009, 08:25 AM
|
#15
|
|
Senior Member
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,354
Rep: 
|
Quote:
Originally Posted by bcbotha
but then how do i get all my stuff off...can i or will i loose it all?
|
It depends on how you have install Ubuntu now .
With separate /home than you can keep you're personal data , if you do not
format /home
But the programs Yes you the reinstall them all
If you let Ubuntu use the entire HD she will format the entire HD and you
started with a brand new system
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|