Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 29-03-2006, 08:57 AM   #1 (permalink)
In The Zone
 
Generic Superhero's Avatar
 
Join Date: Sep 2004
Location: Kolkata
Posts: 209
Default Linux And Windows choice screen


I have Fedora and Windows XP and Windows 98 installed on my computer.

That is, I see a screen after POST which is something like this:
Quote:
GNU GRUB Version 0.95 (639K lower/243903K upper memory)

Fedora Core (2.6.9-1.667)
Other

Use the up arrow and down arrow keys to select which entry is higlighted. Press enter to boot the highlighted OS, 'e' to edit the command before booting, 'a' to modify kernel arguments before booting, or'c' for a command line.
By choosing Fedora Core I can enter it and by choosing Other I go to another screen that lets me choose between XP and 98. My problem is that the screen I tried to picturise above (conatining choices Fedora and other) stays only for 1 second. So if I fail to hit the down arrow Linux automatically starts even if I was willing to open Windows. Is ther any way to increase the time limit?
Generic Superhero is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 29-03-2006, 10:41 AM   #2 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

Yes, there is.

Boot into Fedora, then edit /etc/grub.conf as root.

You'll see a line timeout=. Change the value as desired, save and exit.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 29-03-2006, 11:39 AM   #3 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default

and if u dont want fedora to be the primary boot on-timer-end, jus swap the fedora line with the Other's boot in order... and windows will be for default boot
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 04-04-2006, 10:16 AM   #4 (permalink)
Core i7 (nehalem) Owner
 
ashu888ashu888's Avatar
 
Join Date: Jan 2005
Location: Mumbai
Posts: 3,404
Default

@ Qwerty

Hey bro, how to swap the Fedora line with the Other's boot in order?? I want Win XP to be my Primary boot OS and Linux as my Secondary (wen i choose to hit a key wich will bring up the OS choice menu and then i can select LINUX FC4).. Please reply in simple way and step-by-step procedure if possible


Cheers n e-peace....
__________________
Core i7-920
MSi X58 Pro-E
Corsair 3x1GB
Tagan BZ1100
GTX280 SSC+MSi N580GTX TWIN FROZR II/OC
WD 1TB
22" Samsung 2233SW
APC SUA1500i UPS

Core i7:thinkdigit.com/forum/showthread.php?t=110397
ashu888ashu888 is offline  
Old 05-04-2006, 02:04 PM   #5 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default

Don't go for swapping the lines. just change the line containing default
Here an example of GRUB
Code:
#
# Sample boot menu configuration file
#

# Boot automatically after a minute. 
timeout 60

# By default, boot the second entry.
default 1

# Fallback to the first entry.
fallback 0

title Windows 2000 
unhide (hd0,0)
hide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,0)
chainloader +1
makeactive

# For booting Linux
title  Linux
root (hd0,7)
kernel /boot/vmlinuz-2.2.17 root=/dev/hda8 video=matrox:vesa:261

title Windows 98
hide (hd0,0)
hide (hd0,1)
unhide (hd0,2)
rootnoverify (hd0,2)
chainloader +1
makeactive

title DOS 6.22
hide (hd0,0)
unhide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,1)
chainloader +1
makeactive

# For booting Linux
title  Linux (single user)
root (hd0,7)
kernel /boot/vmlinuz-2.2.17 root=/dev/hda8 video=matrox:vesa:261 single

title Partition 2 (floppy)
hide (hd0,0)
unhide (hd0,1)
hide (hd0,2)
chainloader (fd0)+1

title Partition 3 (floppy)
hide (hd0,0)
hide (hd0,1)
unhide (hd0,2)
chainloader (fd0)+1
In the example
windows 2000 is default 0
linux is deafult 1
windows 98 is default 2.
The number after default depends on the position of windows in GRUB. If windows entry is third default will be 2.
mehulved is offline  
Old 05-04-2006, 02:22 PM   #6 (permalink)
Core i7 (nehalem) Owner
 
ashu888ashu888's Avatar
 
Join Date: Jan 2005
Location: Mumbai
Posts: 3,404
Default

@ Tech

Hey bro, is this a text file named GRUB that can be found in /etc/grub.conf ?? or is it the Konsole screenshot details?? Please clarify and tell me if its a Konsole that shub be edited or a text file in the location /etc/grub.conf .... Im confused a bit. . so please help and tell me right from Step-1 as to wat i shud be doin Please...


Cheers n e-peace......
__________________
Core i7-920
MSi X58 Pro-E
Corsair 3x1GB
Tagan BZ1100
GTX280 SSC+MSi N580GTX TWIN FROZR II/OC
WD 1TB
22" Samsung 2233SW
APC SUA1500i UPS

Core i7:thinkdigit.com/forum/showthread.php?t=110397
ashu888ashu888 is offline  
Old 05-04-2006, 02:28 PM   #7 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default

I guess that's the file for FC. Usually for other distros it is in /boot/grub/menu.lst but according to riyaz it's in /etc/grub.lst and he uses FC so he knows more about it.
So, edit the /etc/grub.conf file. If you have problems in understanding post the file here than someone will help you. And I guess it will require root previlages.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 05-04-2006, 03:49 PM   #8 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

/boot/grub/grub.conf is the original file. /etc/grub.conf and /boot/grub/menu.lst are symbolic links to it. So edit anyone of the above, the change reflects in 3.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 05-04-2006, 03:54 PM   #9 (permalink)
Core i7 (nehalem) Owner
 
ashu888ashu888's Avatar
 
Join Date: Jan 2005
Location: Mumbai
Posts: 3,404
Default

@ desertwind

Will i hv to look into the / Folder?? I went to the "/" Folder then to the /etc then looked in this folder to get /grub.conf (as the path was given: /etc/grub.conf) but was not able to find it. Infact there were folders like: gaim,gnome,gconf,gimp etc.

I also went to the FC4 terminal (Applications>System tools> Terminal) logged in as root and did this:--->
[ root @ localhost Anand]#/etc/grub.conf (and pressed Enter). but got this: bash: /etc/grub.conf : Command not found. Now please tell me step wise guys wat to do. I knw im doin sum stupidity so please help me im a total newbie so tell me step wise please...

Note: I have logged in as Root when Linux boots (starts)and asks to enter Username and password and also in terminal i hv logged in as root user.


Cheers n e-peace....
__________________
Core i7-920
MSi X58 Pro-E
Corsair 3x1GB
Tagan BZ1100
GTX280 SSC+MSi N580GTX TWIN FROZR II/OC
WD 1TB
22" Samsung 2233SW
APC SUA1500i UPS

Core i7:thinkdigit.com/forum/showthread.php?t=110397
ashu888ashu888 is offline  
Old 05-04-2006, 04:08 PM   #10 (permalink)
In The Zone
 
Join Date: May 2004
Location: ** Hosur ** Operating System:GNU
Posts: 451
Default

give it as

nano /etc/grub.conf
or
vi /etc/grub.conf
__________________
Million's Of Open Minds Can't Be Wrong!
http://nc.xmgfree.com/weblog
Everybody Wants to go to Heaven...But nobody wants to Die! :wink:
naveenchandran is offline  
Old 05-04-2006, 04:14 PM   #11 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

buddy,u need an editor to edit the grub.conf do as below:
Code:
root@dapper:~#gedit     /boot/grub/grub.conf
remember a SPACE b/w gedit and /boot/grub/grub.conf lines.now do ur editing as u do using wordpad in M$ OS.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 05-04-2006, 04:58 PM   #12 (permalink)
Core i7 (nehalem) Owner
 
ashu888ashu888's Avatar
 
Join Date: Jan 2005
Location: Mumbai
Posts: 3,404
Default

Thanx for ur replies guys,

But wen i try to type /etc/grub.conf as soon as i type the alphabet "o" as in conf, then the terminal window maximises and im not able to type the small case alphabet "o" ...

I will again try to do the same but first of all please solve my querry in the thread named as Viewing Windows partition in FC4 as i wanna mount my C: drive in Linux coz unless i do that, i hv to constantly switch from Linux to Win XP (to get the net connected and type in this forum) Please help me there tooo.. i hv given the full description in that thread....

@ prakash, Bro those commands that u gave: gedit /boot/grub/grub.conf has to be used in Konsole of FC4 rite !! (sorry to ask this silly thing but im a newbie to this)



Cheers n e-peace.....
__________________
Core i7-920
MSi X58 Pro-E
Corsair 3x1GB
Tagan BZ1100
GTX280 SSC+MSi N580GTX TWIN FROZR II/OC
WD 1TB
22" Samsung 2233SW
APC SUA1500i UPS

Core i7:thinkdigit.com/forum/showthread.php?t=110397
ashu888ashu888 is offline  
Old 05-04-2006, 05:42 PM   #13 (permalink)
In The Zone
 
nach p's Avatar
 
Join Date: Jan 2006
Location: mUMBAI
Posts: 241
Default

Ashuu ,you can type it in the terminal in the GUI mode.
Give command as pointed out above.vi editor will open grub.conf file.To change the content of file you have to press "i" to enter in the insert mode.Then do changes in the grub.conf ,to save and quit that file just hit Esc key.then press "shift" and ":"at a time and type wq.

Linux buddies correct me if I am wrong !!!
nach p is offline  
Old 05-04-2006, 06:36 PM   #14 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default

Ashu try and see if any of these work
Code:
su
<password>
nano /boot/grub/menu.lst
Code:
su
<password>
nano /boot/grub/grub.conf
Se Ashu if the file does not exist on the filesystem as you saw in case of /etc/grub.conf. You won't get it from terminal also. In MS analogy, Terminal is like DOS. This is what the command means
nano /etc/grub.conf
[program name] [file name on the computer]
So, if the file does not exist on your system then you can't access it from the terminal either.
Also I think sudo should be configured on your system and you should use sudo command instead of using root previlages bygiving su command. You can give a command like this if su is configured
Code:
 sudo nano /boot/grub/menu.lst
< your password>
Hope I was clear to you and didn't confuse you.
mehulved is offline  
Old 05-04-2006, 09:09 PM   #15 (permalink)
Core i7 (nehalem) Owner
 
ashu888ashu888's Avatar
 
Join Date: Jan 2005
Location: Mumbai
Posts: 3,404
Default

@ nach @ Tech

Thanx for ur replies and suggestions guys, i hv noted down all the commands for the FC4 Terminal and will try out and post my results.

Cheers n e-peace.....
__________________
Core i7-920
MSi X58 Pro-E
Corsair 3x1GB
Tagan BZ1100
GTX280 SSC+MSi N580GTX TWIN FROZR II/OC
WD 1TB
22" Samsung 2233SW
APC SUA1500i UPS

Core i7:thinkdigit.com/forum/showthread.php?t=110397
ashu888ashu888 is offline  
Old 06-04-2006, 12:20 PM   #16 (permalink)
Core i7 (nehalem) Owner
 
ashu888ashu888's Avatar
 
Join Date: Jan 2005
Location: Mumbai
Posts: 3,404
Default

@ Tech @ nach

My results for grub.conf:
I hv got this by following wat u guys hv told me:
===============================================
su
<password>
vi /etc/grub.conf

Note that you do not have to rerun grub after making changes to this file.
NOTICE: You do not have a /boot partition. THis means that all kernel and initrd paths are relative to /, eg: root (hd0,7)

# kernel /boot/vmlinuz-version ro root=/dev/sda8
initrd /boot/initrd-version.img
boot= /dev/sda
default=0
timeout=5
splashimage=(hd0,7) /boot/grub/splash.xpm.gz
hiddenmenu


title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,7)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root= /dev/sda8 rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img


title Other
rootnoverify (hd0,0)
chainloader +1
===============================================

Now guys, tell me how and wich lines shud i swap (and how) so that WIN XP (other) becomes my Primary OS. Wich is FC4 as of now. I tried swapping the title Fedora Core wiuth Title Other by copy-paste method but that didnt seem to work. Do i hv to convert this into a text editor and then modify it??

@ Tech, bro u gave me an excellent and simplest procedure of Mounting my C: Drive in my Linux partition, so please help me in this also with a simple answer......


Cheers n e-peace.....
__________________
Core i7-920
MSi X58 Pro-E
Corsair 3x1GB
Tagan BZ1100
GTX280 SSC+MSi N580GTX TWIN FROZR II/OC
WD 1TB
22" Samsung 2233SW
APC SUA1500i UPS

Core i7:thinkdigit.com/forum/showthread.php?t=110397
ashu888ashu888 is offline  
Old 06-04-2006, 12:46 PM   #17 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

Follow the steps

Code:
su
[enter your password]
gedit /etc/grub.conf
Now change default=0 to default=1, save and exit.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 06-04-2006, 05:01 PM   #18 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default

Quote:
Originally Posted by ashu888ashu888
@ Tech @ nach

# kernel /boot/vmlinuz-version ro root=/dev/sda8
initrd /boot/initrd-version.img
boot= /dev/sda
default=1
timeout=5
splashimage=(hd0,7) /boot/grub/splash.xpm.gz
hiddenmenu


title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,7)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root= /dev/sda8 rhgb quiet
initrd /boot/initrd-2.6.11-1.1369_FC4.img


title Other
rootnoverify (hd0,0)
chainloader +1
Just make the change to default line as I have highlighted here.
mehulved is offline  
Old 06-04-2006, 08:05 PM   #19 (permalink)
Core i7 (nehalem) Owner
 
ashu888ashu888's Avatar
 
Join Date: Jan 2005
Location: Mumbai
Posts: 3,404
Default

@ Tech @ desertwind

Thanx guys, it worked thanx again for guiding me the correct and (Simple) way..


Cheers n e-peace.....
__________________
Core i7-920
MSi X58 Pro-E
Corsair 3x1GB
Tagan BZ1100
GTX280 SSC+MSi N580GTX TWIN FROZR II/OC
WD 1TB
22" Samsung 2233SW
APC SUA1500i UPS

Core i7:thinkdigit.com/forum/showthread.php?t=110397
ashu888ashu888 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear

Advertisement




All times are GMT +5.5. The time now is 08:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2