LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-04-2005, 07:25 AM   #1
ackerleytng
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
Boot Problem


i just installed fedora core 4 on a new hard drive on this comp (hoping to dual boot with XP)

i selected automatic partition configuration when installing
and chose to install the boot loader (was it GRUB?) on the mbr
i selected windows as the default OS to load cos the rest of my family are not yet linux friendly (not that i am a super linux pro but at least i want to try to use linux)

now its not that i cant boot but its that i somehow go straight into windows xp and i don't get to choose which OS to boot into

any ideas?

thanks in advance
Ackerley

you might want to refer to this: www[dot]neowin[dot]net/forum/index.ph...86761664&st=0&
 
Old 11-04-2005, 07:46 AM   #2
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Two things spring to mind - either you've (a) somehow only added the windows option to the boot list, or (b) set the timeout before it auto-boots the default to zero (or something very small). In both cases, /boot/grub/menu.lst controls how grub works, so showing us the contents of that file would help immensely with the troubleshooting.
 
Old 11-04-2005, 07:56 AM   #3
ackerleytng
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
let me try and see if i can access that file.... do you have any instructions?
 
Old 11-04-2005, 08:02 AM   #4
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
a simple
Code:
$ cat /etc/passwd
from a console should display the contents on-screen. Ahh... except of course, you can't get into Linux. D'oh. In which case, there are two options:

(a) Make a Linux boot disc, rescue disc or live disc to get some version of Linux running, and find it from there. If you don't already have one of these to hand, it's probably more trouble than the other option, though having a Linux boot disc is always handy. Also, if your filesystem isn't ext2 or ext3 (which is the default, so it will be that if you don't know) then you'll have to do this option.

(b) Get and install Explore2fs, which will allow you to access your linux drives from inside windows. Fire it up, open the partition where your root folder lives, then copy /etc/passwd across to windows and paste the contents of it here.

[Edit]On second thoughts, you're going to need a Linux boot disc to actually change anything about GRUB - so it may be best to make one anyway. Not sure how you'd go about that without access to Linux, though; if you can get to a friend/colleague's Linux box, then this page may help you.
 
Old 11-04-2005, 09:16 AM   #5
ackerleytng
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
# 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hdb1
default=1
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd1,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Other
rootnoverify (hd0,0)
chainloader +1

explore2fs helped me with this
oh ya i used a knoppix livecd and tried to edit this with the help of my friend but they kept saying either read-only file system or no permissions

it must be the line that says hiddenmenu isn't it?

Last edited by ackerleytng; 11-04-2005 at 09:38 AM.
 
Old 11-04-2005, 10:51 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Dtsazza's idea is for you to alter

timeout=5 to something like
timeout=50

so that you have 50 seconds to decide which system you want to boot by pressing the direction keys.

In Linux you need the root privilege to alter a Linux system file in a terminal. Typing

su

can change you to a root user in Knoppix booted from a CD. You can see the command prompt change slightly too.

Last edited by saikee; 11-04-2005 at 10:53 AM.
 
Old 11-04-2005, 06:07 PM   #7
ackerleytng
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
i miraculously managed to edit that file... i hexed out hiddenmenu and changed the timeout to no avail.
 
Old 11-04-2005, 07:23 PM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
You need to tell us a bit more.

Did you see Grub at all? or the system boots as though Grub doesn't exist and no screen for selecting?

Do a fdisk -l and paste the content here.

The file /etc/fstab is also helpfull.
 
Old 11-04-2005, 07:29 PM   #9
ackerleytng
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
grub doesn't show up at all, as if grub isn't there

i shall go find the files now
 
Old 11-04-2005, 07:54 PM   #10
ackerleytng
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
sorry i wasn't able to attach files here

pls refer to neowin - i managed to upload my files there
http://www.neowin.net/forum/index.ph...entry586768853
 
Old 11-04-2005, 11:44 PM   #11
ackerleytng
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
hey thx pple! its solved!!!!

now i can boot into FC4

i used mkdir to make a folder in /mnt (i thought that was a dos command?)

then i mounted to that folder, then i was able to copy out the linux.bin and everything else was smooth except this:i can't install my modem even though i got all the rpms and stuff i needed... please see http://www.neowin.net/forum/index.php?showtopic=393993
 
  


Reply



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
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 06:37 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Problem with Mandrake 9 boot /Debian boot on 1 PC cmisip Linux - Distributions 4 11-04-2002 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 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
Open Source Consulting | Domain Registration