Jump to content

Windows + Linux


Tomi Häsä
 Share

Recommended Posts

This post is just for asking a confirmation that I've managed to install Windows and Mandriva to the same laptop (60 GB hard drive) right.

 

I installed Windows XP to my Fujitsu Siemens laptop. Then I installed Mandriva Linux One 2008 Spring. During Mandriva installation I gave Windows XP approximately 47 GB, Linux 9 GB and swap 1 GB of hard disk space. When I restarted my computer, is it normal to see:

 

linux

linux-nonfb

failsafe

 

For a newbie like me I was expecting to see Windows on the list also.

 

I read some FAQs and Wikipedia and noticed I need to edit this file:

 

/boot/grub/menu.lst

 

Then I noticed I can't use emacs, jed, joe, nano or style. I could only use vi and again it was time to read Wikipedia. I also noticed I needed to say "su" to be able to save the file.

 

Anyway, I added these lines to the end of the file, are they okay:

 

title windows

root (hd0,0)

chainloader +1

 

At least Windows XP starts, so I guess all is good now?

Link to comment
Share on other sites

As said, everything is okay. Normally, Windows should have appeared automatically on the boot-menu. At least it always did when I installed Mandriva alongside XP or Vista on any system during the past years.

 

Admittedly, vi is a rather hard to use editor for a newcomer. Nano would be a much better choice and I do not understand why it isn't installed by default yet. *shrugs*. If you want to install this really easy to use editor, just install the nano package through the Mandriva Control Center (aka Configure your system) and start nano later from a terminal or the command line/virtual terminal (you get to the latter one by pressing e.g. ctrl+alt+F1 and get back to the desktop by pressing ctrl+alt+F7).

 

the procedure would be:

ctrl+alt+F1

user@localhost Desktop]$ su

now enter the root passsword (can not be seen)

[root@localhost Desktop]# nano /boot/grub/menu.lst

the file will open now and can be altered. Add the changes you want, then press

ctrl+o for saving and ctrl+x for exiting

[root@localhost Desktop]# exit

ctrl+alt+F7

 

finished! :)

Link to comment
Share on other sites

If you don't want to use a console based text editor you really don't have to if you are running a gui like kde. Just open konsole and run:

 

$ kdesu kwrite

 

You will be prompted for the root password and then a graphical text editor, kwrite, will come up with root privileges. Kwrite works just like a simple word processor. Navigate to the file you want to edit and have at it.

Link to comment
Share on other sites

vi is most usefull to know when you work in computing because ANY unix system always has this editor available.

 

You don't have to use it for visudo though. Just set your EDITOR environment variable to nano, or even a GUI editor (but must be something that does not fork into the background.

 

Yves.

Link to comment
Share on other sites

You don't have to use it for visudo though. Just set your EDITOR environment variable to nano, or even a GUI editor (but must be something that does not fork into the background.

 

Great tip! I had no idea... I will surely suggest it to some guys that find vi(m) clumsy to use.

Thanks for it... I guess it's never too late to learn something...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...