Query regarding partition.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Query regarding partition.
# 1  
Old 09-13-2010
Query regarding partition.

Hi guys having some days with linux os i have found it to be very confusing (thanks to different flavors available).every time i face any problem i start analyzing it from windows point of view.
Here i m with one more query .

Unlike Window, Linux has different partitions naming policies.Most of the system data resides in / .Does this mean its similar to c: in windows system where all system data resides ? can we reinstall another flavor of linux by just formatting / ?

is it possible to dual boot two linux flavours in same machine just like we can dual boot two windows OS machine by installing one OS in c:drive and another in d: drive and making changes in boot.ini file?
# 2  
Old 09-13-2010
One of the most important things to note: Linux is not Windows, and as such it's hard to compare the directory structure, naming, ...

When you say
Quote:
Originally Posted by pinga123
Most of the system data resides in / . Does this mean its similar to c: in windows system where all system data resides ?
you probably have only one partition for everything. While that's not wrong per se, it's possible (and for some deployments even suggested) to use different partitions for different directories. For example, one could use a / (root) partition for everything needed to boot, one partition for /usr (programs not necessarily needed for booting), another one for /home, ...
In Windows terms that would mean that C:\WINDOWS is on one partition, C:\PROGRAMS on a different one, C:\DOCUMENTS AND SETTINGS on yet another one, ...
Quote:
Originally Posted by pinga123
can we reinstall another flavor of linux by just formatting / ?
Probably yes. If you have /home on a different partition, even all the users files and settings will survive.
Quote:
Originally Posted by pinga123
is it possible to dual boot two linux flavours in same machine just like we can dual boot two windows OS machine by installing one OS in c:drive and another in d: drive and making changes in boot.ini file?
Of course, and even easier than with Windows. Most current distributions can detect other Linux installations, and automagically adapt the boot loader to enable booting the previous installations. Newer Versions of GRUB will do this even when the boot menu is re-generated.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

2. Filesystems, Disks and Memory

Ask concept soft partition vs hard partition

Hi Experts I would like to know different between soft partition concept and hard partition concept on solaris. Here is little explanation between soft partition concept and hard partition concept on solaris. Soft Partition: 1TB total space available in storage in all mapped to the OS to... (2 Replies)
Discussion started by: edydsuranta
2 Replies

3. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

4. Shell Programming and Scripting

Shell Script to execute Oracle query taking input from a file to form query

Hi, I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database. For instance: USER CITY --------- ---------- A CITY_A B CITY_B C ... (2 Replies)
Discussion started by: DevendraG
2 Replies

5. Shell Programming and Scripting

rsync from partition to partition fastest

Gentleman, Please move if I have chose the incorrect forum section. I am trying to move data that is not backed up from partition 1 to partition 2 on a SAN that has a GFS2 filesystem. Since the data is not backed up I am rsyncing this data and once verified I will delete from the source... (6 Replies)
Discussion started by: jaysunn
6 Replies

6. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

7. Shell Programming and Scripting

add the output of a query to a variable to be used in another query

I would like to use the result of a query in another query. How do I redirect/add the output to another variable? $result = odbc_exec($connect, $query); while ($row = odbc_fetch_array($result)) { echo $row,"\n"; } odbc_close($connect); ?> This will output hostnames: host1... (0 Replies)
Discussion started by: hazno
0 Replies

8. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

9. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies

10. UNIX for Dummies Questions & Answers

Partition

Hi, wondering if anyone can help a self teaching lad out....I want to partition my windows 2000 box and install Redhat 7.2 on it...I know how to get to the disk management section...but how do I make a new partition..I clicked on the icons and read the help but it is very hard to read for some... (4 Replies)
Discussion started by: jonas27
4 Replies
Login or Register to Ask a Question