LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-05-2003, 11:56 AM   #1
oski
Member
 
Registered: Aug 2003
Location: GMT +1(+2 summer)
Distribution: Xubuntu 7.10
Posts: 60

Rep: Reputation: 15
Install Debian in a winXP-Mandrake preexistent


Hi Debian community!

I'm a newbie user of linux. I came succesfully across an installation of mandrake 9.0 on my WinXp machine and currently the dual boot system works fine. More recently upgraded to MDK 9.1.

As I got more and more informated about Debian's philosophy, I'd like to give it a taste. But I don't want to migrate because I don't feel my skills preparate for it. What I'm suggesting is a three-boot system for testing and learning Debian without prescinding of a system that works for me and I need to keep it working for very important reasons. Migration will take place once I get confident.

Perhaps I'm not a good information hunter, but I didn't find nothing about how to install Debian together with other distros in the same machine.

I'll appreciate every information, link, advice... on this topic. Thanks a lot!
 
Old 12-05-2003, 09:20 PM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
well, first of all you have to make room for debian (say 2GB for binaries + 500M for /home, which you may share among mdk and deb)
actually resizing a ext2 fs is not so easy, so if you can, steal it from a fat.
Take a written note of which partition will host which os/mountpoint
Then install debian sharing the same swap as mdk.
You may want to mount mdk / on /mnt/mdk, to take inspiration from its /etc folder (be careful: mandrake is not too clean).
When it comes to choosing bootloader, install it in debians own partition.
you may whant a bootdisk, too.
then reboot in mdk (so you have an already configured system to work in)
and edit your bootloader config file.
i'd reccomand grub as a bootloader for such a system: it's much more flexible.

Add your debian entry to menu.list with either kernel path or chainloader to deb partition (if you installed lilo in there)
see (and maybe print) man grub for details

If you fail there's no problem, grub will always be able to boot your system even with corrupted config file.

enjoy your deb

PS: woody is getting old, if u have a good internet connection cosider upgrading to sarge (testing), despite its name it's fairly stable.
 
Old 12-07-2003, 07:03 AM   #3
oski
Member
 
Registered: Aug 2003
Location: GMT +1(+2 summer)
Distribution: Xubuntu 7.10
Posts: 60

Original Poster
Rep: Reputation: 15
Thumbs up Thanks ac1980!

Thanks a lot.

You made a great post, but I feel still a little disoriented. To make it clear, I'll show you what are my current partitions in my 40 GB IDE hard disk:

/dev/hda1 : windows (50%)

/dev/hda5 : / )
/dev/hda6 : swap >(50% 5+6+7)
/dev/hda7 : /home )

There is another partition , hda 2, that appears to be some sort of addition of 5+6+7 (¿?). Everything goes fine with Lilo.

hda1 will be drastically resized to a minimum, what makes some 15 GB avalaible for Debian installation. Note that my partitions are not in /mnt but in /dev.

My concerns start in figuring how to achieve everything you adviced, because I need to learn before to understand it. Installing Debian GNU/Linux 3.0 for Intel x86 states:
"It may be able (Debian) to share some partitions with other Linux systems, but that's not covered here". I wonder where is covered this topic. And this is the kind of help that I really need.

Thanks once more.
 
Old 12-07-2003, 11:36 AM   #4
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
you can safely share your /home , so you will get consistent preferences, mail, etc. I recommend against sharing binaries like /usr, since you don't actually have space problems! Of course you can share swap partition, too.
Do as follows: shrink hda1 to make room for another primary partition. I'm not sure if it will be named hda2 or hda3 (currently hda2 is an extended partition that contains the following ones). 10GB are more than enough, maybe someday you will resize it again to install hurd or freebsd
Then install debian on it. In the installation program mount:
/dev/hda7 -> /home
/dev/hda5 -> /mnt/mdk
don't install a bootloader. instead, boot to mandrake, edit /etc/lilo.conf or /boot/grub/grub.conf (tell me if you have trouble). If you use lilo, remembrer to run /sbin/lilo.
Enjoy big debian family!
Alessandro

PS: Tell me if everything goes well
 
Old 12-29-2003, 11:14 AM   #5
oski
Member
 
Registered: Aug 2003
Location: GMT +1(+2 summer)
Distribution: Xubuntu 7.10
Posts: 60

Original Poster
Rep: Reputation: 15
Thanks a bunch! ac1980

My apologies for delay in answering.

Yes... It was yesterday when finally I got Debian installed!

I had to learn lots of things before I was totally aware about you where trying to tell me!
I followed absolutely the basic guidelines you posted before. I did only minor customization,
i. e. mounted also /dev/hda1 -> /mnt/windows. Had no problems editing /etc/lilo.conf
in Mandrake. Added /dev/hda3 /mnt/debian ext3 defaults 1 1 in /etc/fstab of Mandrake
to get it automatically mounted at start up.

I installed a very basic configuration of Debian, without X, all pure comand line, for learning
purposes. I can actually go across all my filesystems, Linuxes and windows. And I shall per-
sonalize later.

In fact, the installation of Debian was not as threatening as I imagined before... This is not
to say that it was as easy as I found to be Mandrake's one, because it demands a
knowledge of about what one is doing at every moment and almost anything goes automati-
cally without one's consent.

Thanks once more!
 
  


Reply



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
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
debian net-install through WinXP proxy joedonahuedotorg Linux - Networking 1 09-25-2005 06:57 AM
Advise for debian install with winxp and slack insyte Debian 6 08-13-2004 12:58 PM
Mandrake 10 / WinXP dual boot install afireinside81 Linux - Newbie 5 07-01-2004 05:53 AM
mandrake 9.1 network install from winxp pro psyno Mandriva 3 08-31-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:07 AM.

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
Open Source Consulting | Domain Registration