Solved

Help me plzzzzzzzzzzzz

Posted on 2004-10-07
10
194 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
Comment Utility
Using fdisk,change the partition type to "hidden."
0
 
LVL 3

Expert Comment

by:nalanbar
Comment Utility
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
Comment Utility
Hi again nalanbar. I think he is referring to a grub or lilo splash screen.
0
 
LVL 3

Expert Comment

by:nalanbar
Comment Utility
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
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 3

Expert Comment

by:jacauc
Comment Utility
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
Comment Utility
hey jacauc Bro ur Tip is working. but can you tell me how to create again the linux option...

0
 

Expert Comment

by:rameshbhaskar
Comment Utility
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 50 total points
Comment Utility
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
Comment Utility
Thanks to all :) my problem is solved





Best Regards
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now