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.
i've some similar issue here and here goes.I've a single sata hard drive instead of 2.I successfully installed fc5 on the 2nd partition in order to dual boot it with winxp using ntldr.I've installed grub to the first sector /boot and have successfully copy the linux boot sector (.bin file) to windows and have edited the boot.ini file with this line c:\fc5.bin="fedora".
I am able to choose winxp or fedora now with the nt boot menu and can boot into winxp successfully.But im not sure how to boot into fedora.
When i choose fedora,it enters the "grub>"screen..from there im stucked and i cant get into fedora.
you can try to enter this 1 by 1 in grub's command-line:
Code:
root (hd0,0) # replace with the proper disk and partition
find /boot/grub/stage1 # i don't know if we really need this
kernel /boot/... # kernel and parameters
initrd /boot/... # path to your initrd file if you're using initrd
boot
if your fedora is hda , use (hd0,n) where n is the partition number minus 1
you can try to enter this 1 by 1 in grub's command-line:
[code]
root (hd0,0) # replace with the proper disk and partition
find /boot/grub/stage1 # i don't know if we really need this
kernel /boot/... # kernel and parameters
initrd /boot/... # path to your initrd file if you're using initrd
boot
[code]
if your fedora is hda , use (hd0,n) where n is the partition number minus 1
if my linux partition is where
/dev/sda5 is where /boot is located and
/dev/sda6 is my other linux partition, how will my root command will be?
any commands to check the kernel parameters and the path to initrd file?I ain't sure about this.
Btw any idea what causes this to happen?Or is it just some normal procedure that ive left out?
real thanks for ur help as i've followed what uve said and found some other links with info and have got it to start already!
heres wat ive did:
1) find /grub/stage1 #returns (hd0,4)
2)root (hd0,4)
3)kernel /vmlinuz [tab] gives me the info [enter]
4)initrd /initrd [tab] gives me the info [enter]
5)cat /grub/grub.conf #to verify if its ok
boot
it starts alrite but however i reboot to test the startup again,i've to retype those commands in order to start fedora again.So im wondering is there anyway to configure so that i will not enter the grub command prompt and straight into fedora the nex time?
hi there, have tried but still unsuccessful in getting straight to fedora instead of re-typing the commands at the GRUB> command prompt screen each time i need to log on..
here is my grub.conf:
----------------------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,6)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda7
default=0
timeout=0
splashimage=(hd0,6)/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5smp)
root (hd0,6)
kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5smp.img
makeactive
title Windows XP
rootnoverify (hd0,0)
chainloader +1
------------------------------------------------------
Any solutions??
yea...i followed the link u've provided and use partition magic to shrink the windows partition and place my grub there this time.
Re-perform the steps and then it worked!
However does all these methods work with suse linux as well?As in using ntldr to dual boot both windows xp and suse linux?
Anyway i also wana test the installation with suse linux.And at installation im unable to figure out how do i place grub on the space which ive done for fedora because it doesnt seem to show the free space in the installation.
same procedure of course. boot to the suse system, then install grub there. if you can't boot to suse, you can always use a livecd for that. boot a livecd then do 'mount /dev/hdaX /mnt/anydir; chroot /mnt/anydir /bin/bash' where hdaX is the suse's partition and anydir is can be /mnt/system or anything. after that you can install grub as if you're installing grub in the installed suse.
btw maybe i'm getting the wrong idea here. do you want to install a new grub on a new system? or you just want to add suse in the boot menu?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.