LinuxQuestions.org
Help answer threads with 0 replies.
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 09-22-2003, 06:29 PM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
Linux on a logical partition?


Hi, quick question. Is it possible to install any part of Linux on a Logical partition? That is, / swap or /boot, or whatever?

All replies are appreciated.

Q
 
Old 09-22-2003, 09:42 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
yes. no problems whatsoever.
 
Old 09-23-2003, 01:14 AM   #3
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
You mean any part, without restrictions? All my partitions even?

Q

PS what is the physical limit for harddrives? I mean I have a disk on my second PC which is 120 GB in size, 30GB of that is given over to Windows (for home worker compatability reasons) 200MB is given over to /boot 514MB is given to Swap, I would like to give my / partition 30GB, which leaves roughly 60GB to play with, which I would like to use for storage and secure backup.

I have tried various partitioning schemes but have had mixed results. Through trial and error I have found it is possible to have 3 primary partitions and two logical partitions on the same disk (any other methdology I tried simply failed) however it seems important to create the logical partitions first, or at the front of the disk. Is this accurate, or is there a better way to do things?

On another note, on my new secondary PC, for some weird reason my primary master harddrive is listed in Linux as /dev/hdc, instead of the more usual /dev/hda. This means my disk if I set it up this way would be /dev/hdc1 -> /dev/hdc5. My question is, is this normal, and how do I configure grub to reflect this unusual state of affairs. (That is do I still tell grub to look on the first partition of my first disk 0,0 for /boot and my kernel? Or should it be 0,2?). My suspicion is that there are two traces on this motherboard for serial ATA harddrive connectors. However they have been ommited, as apparently Epox are awaiting delivery of a new Southbridge from Via to fully support this feature. So that would give /dev/hda /dev/hdb for serilal ATA and with the two conventional IDE channels, this would account for /dev/hdc and dev/hdd (if I had one). Does this sound accurate, or might there be another reason for it?

Your input is welcome.
 
Old 09-23-2003, 01:48 AM   #4
linuxmanju
Member
 
Registered: Sep 2003
Location: India
Distribution: Debian
Posts: 50

Rep: Reputation: 15
Its possible as long as u create proper mount point entries in the /etc/fstab...
 
Old 09-23-2003, 07:30 AM   #5
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
It's possible for all partitions, not sure about the /boot though.
The grub name for /dev/hdc would probably be (hd3). /dev/hdc1 would be (hd3,0), and /dev/hdc5 would be (hd3,4). Grub has a find command that will let you find which partition has certain data on it.
You can only have up to 4 primary/extended partitions on a hard disk. Extended partitions only carry logical partitions, and each extended partition can hold up to 11 logical partitions.
 
Old 09-26-2003, 02:01 AM   #6
linuxmanju
Member
 
Registered: Sep 2003
Location: India
Distribution: Debian
Posts: 50

Rep: Reputation: 15
Its possible for /boot as well...
provided the kernel has builtin support for that perticular partition type and fs system (..I mean not as a module )...

or simply u can create one initrd to achive that if its compiled as a module..
 
Old 09-26-2003, 02:05 AM   #7
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
How do I create an initrd? I have a script that does it, but I want to work out how to do it manually so it will scan for and find any hardware changes at boot time. Also you say grub has a find command. How can I use it to see what grub makes of my current configuration?

Q

Last edited by raid517; 09-26-2003 at 02:58 AM.
 
Old 09-26-2003, 07:37 AM   #8
bmahesh
Member
 
Registered: Sep 2003
Location: Bangalore
Distribution: RedHat , Debian
Posts: 42

Rep: Reputation: 15
hi,
to create initrd

mkinitrd /boot/initrd-***.img 2.4-***

* represents versions
 
  


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
Slackware Linux on a logical partition tooparam Linux - General 1 11-28-2005 01:02 PM
Can't boot linux on a logical partition poison5151 Linux - Newbie 4 02-03-2004 08:14 PM
Mounting a logical partition... J_Bone Linux - Newbie 11 08-17-2003 07:35 PM
Primary or Logical partition ? infernal Linux - Software 3 10-16-2001 05:16 PM
logical or primary partition Socrates Linux - Software 1 02-25-2001 03:50 AM


All times are GMT -5. The time now is 06:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration