Solved

Help me plzzzzzzzzzzzz

Posted on 2004-10-07
10
196 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

813 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

17 Experts available now in Live!

Get 1:1 Help Now