Help me please ! Grub error . Read this...........
Linux - NewbieThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This worked, it boot Vista successfully (Only Kaspersky failed to start.)
Code:
rootnoverify (hd1,0)
chainloader +1
boot
This worked sa well, it boot Vista. I thing with no problems
I am not really bothered to boot Vista from second HD. If I don't press F12 Vista boot up anyway.
It's Linux I would like to have working from second HD.
So what do I do now??? What would happened if I will make the last code which is working permanent? (I don't know how to do that)
Will linux still boot from second HD or I will get the Grub bootloader at the start of the PC? (Which I don't like)
aus9, I think we do not understand what he wants to accomplish. Patrick do you want windows to boot without grub appearing first and if you do not choose windows the grub screen to appear?
Quote:
Originally Posted by P@trick99
Thank you for your reply
So what do I do now??? What would happened if I will make the last code which is working permanent? (I don't know how to do that)
Will linux still boot from second HD or I will get the Grub bootloader at the start of the PC? (Which I don't like)
It's simple, I want to turn my laptop on and boot vista, (normally)
Just turn it on and that is it, Vista is loaded.
If I want Linux Ubuntu to boot it up, at the beginning before Vista start booting, I will press F12 and I will get boot up menu (nothing to do with linux jet)
There are 4 options and lover bios setup
I will choose boot from second HD and then I will get the ubuntu booting menu, hit enter and Linux Ubuntu start to boot
Is that simple, I had this before with PClinuxOS exactly as I described
PClinuxOS had an option where to install grub loader and I selected sdb and delete Vista from the boot menu list before I install PClinuxOS. Wireless internet didn't work in PClinuxOS, that is why I want to try Ubuntu.
I am still not sure why F12 does not change bios boot order...must be a Vista bootloader function and I have yet to test that so will be happy to accept Patrick's explanation. I was pretty confident the boot order changed for grub hence changing to hd0 instead of hd1...but as its NOT a true bios function maybe thats why you still needed sdb instead of sda?
Patrick
Use your green text commands and boot into linux.
use root powers to edit your menu for grub...hopefully /boot/menu.lst so it looks like this (without the dashes)
----------------------------------------------------------------------------------------------
default 0
timeout 3
title Linux
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/sdb1 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title recovery mode
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=/dev/sdb1 ro single
initrd /boot/initrd.img-2.6.24-16-generic
----------------------------------------------------------------------------
reboot to test.
Of course since you must press F12 to select a linux drive....you could set timer to 0?
I have left out color command so you will get black and white and not splash or gfxmenu either you can add that when you know the basics works.
see my signature if you want to add your own image etc
2) I am not sure why you have another quiet in there but it works so lets try it.
Patrick can get in.....so issue is kinda resolved so forgive me for now attempting to email you but your settings forbid it apparently.
I have some comments on the code for your perusal if interested.
I am happy you pm or email me or if you do not think I can cause any michief I will post here...or if not interested post a reply please when you get a chance. ( I have pm and email turned on)
If you want to boot from vista, you can download EasyBCD and modify your vista boot files to boot your Linux install with it. http://neosmart.net/dl.php?id=1
Patrick can get in.....so issue is kinda resolved so forgive me for now attempting to email you but your settings forbid it apparently.
I have some comments on the code for your perusal if interested.
I am happy you pm or email me or if you do not think I can cause any michief I will post here...or if not interested post a reply please when you get a chance. ( I have pm and email turned on)
Hi Aus9
Thank you very much for your time and for your help, Thanks to all.
I had to reinstall Linux Ubuntu, I have done something wrong in Menu.lst
Then I change the menu.lst as you suggested, but I have change only the root
This is the original
Code:
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c7ee2157-02f4-44e8-9e5f-433ab1ff2223 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c7ee2157-02f4-44e8-9e5f-433ab1ff2223 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
chainloader +1
This is what I have changed (In blue)
Code:
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c7ee2157-02f4-44e8-9e5f-433ab1ff2223 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=c7ee2157-02f4-44e8-9e5f-433ab1ff2223 ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1
This time IT'S WORKING
Turn my laptop on and boot vista, (normally)
Just turn it on and that is it, Vista is loaded.
If I want Linux Ubuntu to boot it up, I will press F12 and I will get boot up menu, will choose boot from second HD and then I will get the ubuntu booting menu, hit enter and Linux Ubuntu start to boot
It is all working the way I wanted
Now I need a good book about Linux, so I can learn Linux. One day I will be Linux user.
as a general rule I prefer not to do private help via email as others do not gain from hidden info...I am not suggesting I am the holder of good knowledge.
My question to syg00 is more off topic but he can choose to ignore me and I still respect him for that as I have attempted a private conversation....not against the rules....but not normally done.
Do you have a live cd or not?
Do you have a problem with download limits or not?
as a general rule I prefer not to do private help via email as others do not gain from hidden info...I am not suggesting I am the holder of good knowledge.
My question to syg00 is more off topic but he can choose to ignore me and I still respect him for that as I have attempted a private conversation....not against the rules....but not normally done.
Do you have a live cd or not?
Do you have a problem with download limits or not?
cheerio
aus9
Yes I do have live CD.
Does live CD help to fix some problems which you can't normally fix it?
No I don't have problem with download limits, why are you asking?
I was playing with Linux Ubuntu and with compiz fusion, why is different than compiz fusion in PCLinuxOS? Some plug ins are missing (snow is not there and others)
Can you recommend a good theme manager or something similar to make ubuntu looks cool. I know first I should learn some useful staff and then play with the cool staff. ( I am going to)
leaping ahead you boot the live cd next time...mount the naughty partition with rw powers then edit it to fix whatever....including a naughty grub file.....saving you from a fresh install.
2) If you have the bandwith can I suggest you install a good emulator...www.virtualbox.org is avail for ms or linux....then you can download and test the iso without having to burn it.
we um are smart cookies here...and it saves the planet from you burning a cdr.
2) another good use is to run partimage on a live cd to take and restore images....its a bit like norton ghost or acronis only it can only do a partition not the entire drive.....saving you from a fresh install and lots of updates
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.