LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2003, 01:01 AM   #1
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Rep: Reputation: 15
LILO hides winXP...


Hey... I am currently running winXP and Slack9.1 on dual boot... but I would like to hide winXP somehow...

I would like for an unauthorized user to make it impossible to run windows (hide it, rename it to redhat linux, mandrake linux, setting a password?)...

Any ideas? Basically I would like to hide any existance of windows but at the same time I would like to be able to run it...
 
Old 11-17-2003, 01:14 AM   #2
ShockTherapy
LQ Newbie
 
Registered: Nov 2003
Location: London, U.K
Distribution: RedHat 9, Gentoo, I'm Working On More so Don't Bug Me.
Posts: 23

Rep: Reputation: 15
You could remove windows completely from the Boot loader so the computer only starts up into linux.

Then use VMware to access your windows partition from within linux.

There would be several minor indications towards the existance of a windows partition but only someone who knew what they were doing and was looking for it would notice.
(such as missing disk space, and loading/attempted loading of fat32/ntfs file system on boot)

Why you would want to do that beats me though....
I could refer you to a good doctor!
 
Old 11-17-2003, 02:52 AM   #3
Grasshopper
Member
 
Registered: Nov 2003
Location: CT, USA
Posts: 55

Rep: Reputation: 15
I don't know how you would go about hiding the windows option from your bootloader menu, but you could restrict access to it by placing a password on it, or as you suggested rename the entry itself.

There are several ways to go about this:
1) You can edit lilo though the GUI tool webmin.
- open a browser (for instance Mozilla or konqueror) and in the web address bar type:
http://localhost:10000
- you will be brought to a login screen where you will be asked to log in, you can use the username: "root" - and for the password: (whatever your root password is) --note: if nothing comes up you probably do not have webmin installed, it is a very useful tool and if you don't mind it on your system I would highly suggest you install it - visit www.webmin.com for more info.
- you should be brought to the webmin page.
- select the Hardware tab.
- select the Linux Bootloader Configuration, this is the configuration editor for lilo.
- you will be presented with several icons that represent the various boot options present on your system, the one you will want to click on will most likely be labeled "windows"
- here you will have the option of changing the name that appears in the bootloader selection or changing that particular boot option to be accessed only after the user has supplied the proper password.
- remember to save and apply your settings after you have changed them

2)The second way you could modify lilo is by editing the configuration file lilo.conf.
- lilo.conf resides in the /etc directory
- you'll need to open it with a text editor with root privileges, so you can either login as root - which I would suggest against - or login as a regular user and acces it with root privileges. For example to do this with KDE press <alt><F2> (thats alt and F2 at the same time) and at the prompt that comes up type in kdesu konqueror , this will open up a new konqueror window which will have root privileges so you can modify the file if you open it from there.
- in this file you will see several entries - one for each boot option - you'll want to find the one that refers to your windows boot option
mine looks like:
other=/dev/hda1
label="windows"
table=/dev/hda
- you can change whatever it says within the quotation marks to change the display name of the boot option
- to add a password to access the boot option edit the file read as so:
other=/dev/hda1
label="windows"
table=/dev/hda
password=testpass
- where testpass is your password
- MOST IMPORTANTLY after making these changes to this file and saving them bring up a command prompt, type in su then give it your root password when prompted, then type in the command lilo - this updates lilo's boot configuration for the next boot.

Good luck and remember to post back so others can see what worked for you.

Last edited by Grasshopper; 01-20-2004 at 01:20 PM.
 
Old 11-17-2003, 02:47 PM   #4
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Original Poster
Rep: Reputation: 15
The thing is that I don't want people to know that I'm using cracked windows... so I wanna hide it. Normally it wouldn't be a problem, but under certain circumstances I'm forced to use Windows (Corel, Macromedia, Adobe)...

I'll get back to you with the results by the end of the week... thx.

laters,ilh
 
Old 11-17-2003, 02:53 PM   #5
Gill Bates
Member
 
Registered: Aug 2003
Location: the far side
Distribution: OpenSuSe 10.2, Mac OS X Tiger
Posts: 380

Rep: Reputation: 30
Quote:
Originally posted by ilhbutshm
The thing is that I don't want people to know that I'm using cracked windows... so I wanna hide it. Normally it wouldn't be a problem, but under certain circumstances I'm forced to use Windows (Corel, Macromedia, Adobe)...

I'll get back to you with the results by the end of the week... thx.

laters,ilh
have u tried using wine?
 
Old 11-17-2003, 03:00 PM   #6
Mikhail_16
Member
 
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
Quote:
Originally posted by ilhbutshm
The thing is that I don't want people to know that I'm using cracked windows... so I wanna hide it. Normally it wouldn't be a problem, but under certain circumstances I'm forced to use Windows (Corel, Macromedia, Adobe)...

I'll get back to you with the results by the end of the week... thx.

laters,ilh
So does the other 80% of the people on Earth.
 
Old 11-17-2003, 04:09 PM   #7
iLLuSionZ
Member
 
Registered: Oct 2003
Location: MI
Distribution: Knoppix 3.3 = XP = Mandrake 9.2
Posts: 343

Rep: Reputation: 30
lol....

why dont you hack the oobetimer?
 
Old 11-18-2003, 01:30 PM   #8
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Original Poster
Rep: Reputation: 15
It's not like that. Let's not go too far off-topic, mkay? :-)

I just remembered, it would be perfect if I could set a password in at startup (LILO perhaps) and when I would type let's say... pasword1, it would run Linux, and if I typed password2, it would run Windoze... :-)

Anything like that possible?
 
Old 11-18-2003, 05:37 PM   #9
Mikhail_16
Member
 
Registered: Oct 2003
Distribution: Gentoo rules them all
Posts: 279

Rep: Reputation: 31
i doubt its possible.
you can definitely password your machine using BIOS.

You can also 'remove' xp choice from the config file. do not actually remove it but just set its title to a space or 2 and create bunch of fake empty entries between linux choices and the real win choice. so it will be hidden for anyone but you.
 
Old 11-19-2003, 02:28 AM   #10
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Original Poster
Rep: Reputation: 15
Good idea with the space there.
 
Old 11-19-2003, 03:00 AM   #11
guitarnix
Member
 
Registered: Sep 2003
Location: Hawaii
Distribution: Slackware 9.1
Posts: 51

Rep: Reputation: 15
You can edit the lilo.config file. just change the word "Windows" to Mandrake 9.2 or whatever you want it to read in the lilo window on startup.
 
Old 11-19-2003, 06:01 AM   #12
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Original Poster
Rep: Reputation: 15
Yes, I could do that as wef figured out in the previous posts, but then people would actually see there is an option and if thex booted to MDK they would see the windows... I like the idea with a space better, its kind of a transparent :-)

Thx for the post tho.
 
Old 11-19-2003, 06:21 AM   #13
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
you also could join the idea of Grasshopper and the idea of Mikhail_16; i. e. change the label (for example, instead of Windows XP, put a space) and, simultaneously, use a password for that entry (as Grasshopper explained).
Regards
 
Old 11-21-2003, 08:09 PM   #14
ilhbutshm
Member
 
Registered: Jul 2003
Location: Europe
Distribution: Slackware 10.2
Posts: 104

Original Poster
Rep: Reputation: 15
Not really sure here how to set label to be a space... lilo wont let me do that (/sbin/lilo)...
 
Old 11-22-2003, 12:18 AM   #15
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
True, lilo doesn't support spaces in labels.
You can use instead "_" or anything else; maybe a missleading label, with a password (just in case...)
Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WinXP/Slack (LILO) Casket Linux - Newbie 7 10-16-2005 07:42 AM
lilo hides a fat32 partition amimusa Linux - Software 1 01-09-2005 09:03 AM
[LiLo] can't multiboot WinXP Rikra Linux - Software 4 11-01-2004 08:00 AM
Microsoft Hides Behind Linux XavierP General 9 08-28-2003 10:24 AM
mandrake9.1: internet sharing hides samba mike@wales Linux - Networking 1 06-11-2003 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration