?
Solved

Help me plzzzzzzzzzzzz

Posted on 2004-10-07
10
Medium Priority
?
204 Views
Last Modified: 2010-04-20
if i have two oprating system in my PC linux/win98..in the starting there is two message is apear win98/linux.....
my quistion is how to temprary hide the linux option when computer is started......????
0
Comment
Question by:sadaa
  • 3
  • 2
  • 2
  • +2
10 Comments
 
LVL 3

Expert Comment

by:nalanbar
ID: 12253575
Using fdisk,change the partition type to "hidden."
0
 
LVL 3

Expert Comment

by:nalanbar
ID: 12253621
I would boot to either a bootdisk that had fdisk, or a live linux build, like knoppix, and then use the command "fdisk /dev/hda"
Now, it has been a couple of days since I have used fdisk, so I am a little foggy on thi part, but press "t" to change the partition type, and then select the partition you want to change, and then use "c2" as the type, I believe. c2=hidden linux filesystem. then write the table to disk, and you should be good to go.
Hope that helps.
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 12254158
Hi again nalanbar. I think he is referring to a grub or lilo splash screen.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:nalanbar
ID: 12254233
You know, I didn't even think of that. I guess the next question is "Is the boot screen Lilo? Grub?" Either way, you will need to edit the (loader).conf file in /boot under linux.
0
 

Expert Comment

by:rameshbhaskar
ID: 12256575
I am assuming that you are refering to either the grub or lilo loader. If that is the case then you cannot exactly "hide" the option but you will be able to remove the option or set whichever of the two you want as default.

In order to set it to default (In the case of lilo) edit the /etc/lilo.conf file. You will have an option to set the default booting os. If the option is not already set, then type default="name of the label u want to make default"
0
 
LVL 3

Expert Comment

by:jacauc
ID: 12257186
you can permanently remove linux (if this is what you want) boot into DOS and type

fdisk /mbr

Thanks
J
0
 

Author Comment

by:sadaa
ID: 12301415
hey jacauc Bro ur Tip is working. but can you tell me how to create again the linux option...

0
 

Expert Comment

by:rameshbhaskar
ID: 12305122
Depending on your loader you would have to re-install it. One method that I know of is the following (for lilo)

1. Boot through your linux cd (slackware/rh/whichever other distro)
2. Get to a console prompt (alt+f1 or f2 or something will usually issue one that you can log into)
3. Check whether you can mount the partition which has the root file system.
  i. create a directory temporary
  ii. mount your device (with root file system on your temporary directory) . Ex: mount /dev/hda1 temp
  iii. chroot to that temporary directory. Ex: chroot temp
  iv. Get into the directory. Just type 'cd' it will take you there.
  v. Type 'lilo' if yours was the lilo loader, or install grub, (I'm not sure how to install grub).
4. Reboot your system and you should have the lilo loader up and running again.

In cas you can't mount the filesystem (step 3) then type mknod /dev/device-name. Ex: mknod /dev/hda1.
0
 
LVL 3

Accepted Solution

by:
jacauc earned 150 total points
ID: 12305271
Hi Sadaa,
You can just boot it from the Linux CD again, and start the installation from scratch.
This will autoconfigure the bootloader to have 2 options. Linux and Windows

Hope this helps
J
0
 

Author Comment

by:sadaa
ID: 12310491
Thanks to all :) my problem is solved





Best Regards
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month17 days, 3 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question