LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-09-2002, 01:22 PM   #1
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Rep: Reputation: 30
Addition of hard-disk( 20gb + 120gb )


hello,

I've a Linux Mandrake 8.1/ Windows 2000 machine with 20GB of space. I want to add a 120GB hard-drive to this and am planning to install Suse 8.x on this one.

Is it possible to add this drive and have another operating system apart from the other 2.

If so, while installing it how would Suse know of the other and how would the boot-sector be organized. Right now I'm given the linux boot-loader which suggest of Linux, Windows 2000 and waits for my choice.

Can some suggesst me of do's and don't in this procedure.

The other fundemental question : is Suse 8.x a good choice for such a size. My objective is to host an Apache/Linux server. No e-commerce at this point, but expect a decent traffic, not much.

Thanks.
- shanky.
 
Old 07-09-2002, 03:15 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
For such a size?

Giving anything 120Gb is still a bit of overkill no matter what the OS.

If you're already using LILO, the easiest way to get SuSe in the boot order is to install it normally, but choose NOT to install a boot loader (You already have one, but it might automagically detect the other two and give you options, if it doesn't see both, don't bother with it).

Boot into Mandrake, mount the SuSe drive, and copy the kernel, almost definately /boot/vmlinuz.suse, over to Mandrake's /boot partition. Then make an addition to Mandrake's /etc/lilo.conf file with something like:

image = /boot/vmlinuz.suse
root = /dev/hdX1
label = Suse
read-only

Where hdx1 is whatever your 120gb drive's root directory is is... my guess is /dev/hdd1, although if you really don't know, just look at the /etc/fstab on the SuSe partition.

Then re-run Lilo with:

/sbin/lilo

Cheers,

Finegan
 
Old 07-10-2002, 01:47 AM   #3
RefriedBean
Member
 
Registered: Jun 2002
Location: N 37° 33.327 E 126° 55.650
Distribution: Gentoo, Slackware, OpenZaurus
Posts: 186

Rep: Reputation: 31
Quote:
Originally posted by finegan
Giving anything 120Gb is still a bit of overkill no matter what the OS.
Hehe, lets hear you say that in 5 years time,,

Ahh, I still remember people saying things like "1gb?? yea right, Who'd want somthing THAT big?"

j/k
RefriedBean
 
Old 07-10-2002, 10:59 AM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Quote:
Originally posted by RefriedBean


Hehe, lets hear you say that in 5 years time,,

Ahh, I still remember people saying things like "1gb?? yea right, Who'd want somthing THAT big?"

j/k
RefriedBean
I know I may eat these words in five years, post back if you win in the long run, but look at how disk space has outstripped usage. The Hard Drive boys left Moore's law in the dust.

1992: OS: DOS 3.x took about 28 Mb, my HD: 80Mb! Smokin'! (machine, 386dx 16mhz)
That's about 35% of the disk to OS.
1997: OS: Win95, taking up about 280Mb, my HD: 2Gb!
(machine, P1 200Mhz)
That's about 14% to OS.
2002: OS: Slackware 8.1, taking up about 1.5Gb, my HD: 40Gb (machine, Athy 1.2Ghz)
That's 4%

The drives are getting bigger, but the software doesn't need to... no how much Windows stuffs theirs full of kludge. Come on, you remember when you used to actually have to "think" about how many games you could fit on your machine.

Cheers,

Finegan
 
Old 07-11-2002, 02:26 AM   #5
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Original Poster
Rep: Reputation: 30
Thanks guys,
Proceeding Finegan's idea, I install suse( boot from the suse cd ), don't install boot-loader, boot back on mandrake, copy the kernel - can you tell me what do you mean by copying the kernel ? and won't there be a conflict in here ?

I'm not clear on this.

I'm clear on additing the entry on mandrake part, though.

thanks again.
 
Old 07-11-2002, 02:37 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
but then much of slacks 1.5Gb is with applications as well, if it only had the equivalent of win95's contents, you'd not be looking at more than a gig, or even 500mb... 2%
 
Old 07-11-2002, 07:27 AM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
And everything else to store pr0n.
 
Old 07-11-2002, 07:49 AM   #8
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
What fin suggested as copying means copying - boot mandy, mount suse partitions, find out which one is your suse kernel - usually vmlinuz in /boot directory, I have no idea where SuSE might hide it and call it. But this is the way how my multi-boot system works mostly mandy and redhat through mandy lilo (sorry I am at work, and my linux workstation here is single boot ), I have in /etc/fstab entries for my redhat partitions
/dev/hdb1 /mnt/redhat/boot ext3 defaults 0 0
/dev/hdb2 /mnt/redhat/ ext3 defaults 0 0
and so forth
and my /etc/lilo.conf
has these entries

image=/mnt/boot/vmlinuz-2.4.18athy
label=rh18
initrd=/mnt/boot/initrd-2.4.18athy.img
read-only
root=/dev/hdb2
 
Old 07-11-2002, 10:44 AM   #9
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
To give exact directions:

Make a quick and dirty mount point for the suse drive within Mandrake, and mount the SuSe drive:

mkdir /mnt/suse
mount /dev/hdX1 /mnt/suse

You might have to give it the -t ext3 option for ext3 if you're using that.

mount -t ext3 /dev/hdX1 /mnt/suse

Copy the kernel from SuSe to Mandrake:

cp /mnt/suse/boot/vmlinuz.suse /boot/

There won't be a conflict, the kernels will have two different names so you won't be copying over anything important. You can have dozens of compiled kernels on a machine... heck, I do.

Cheers,

Finegan
 
Old 07-12-2002, 06:24 AM   #10
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I like neo77777's way. Just mount the partition where the kernel and initrd are located. Edit lilo.conf giving the complete path to the kernel and initrd. Run lilo and unmount the partition. You're ready to go. No filling up your /boot directory with foreign kernels.
 
  


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
unable to write more than ~6Gb to a 20gb disk. mhen Linux - Hardware 5 07-27-2005 01:45 PM
Second Hard Drive Addition.... Pleiades Fedora 1 04-15-2004 08:39 PM
Maxtor 120GB hard disk formatting lichad Linux - Hardware 1 08-31-2003 07:14 PM
How best to utilise my new 120GB Hard Disk? furrie Linux - Hardware 1 08-12-2002 05:56 PM
Mounting 2 20gb Hard Drives jpc82 Linux - General 11 12-06-2001 01:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:37 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
Open Source Consulting | Domain Registration