Solved

Help me plzzzzzzzzzzzz

Posted on 2004-10-07
10
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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 50 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

688 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