LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2008, 12:38 PM   #1
LinPengu
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Rep: Reputation: 0
Partitioning question


I've been running Suse 10.3 for a while now and love it!!! BUT I've been wanting to try other Linux distros out on the same machine while keeping my current Suse 10.3 untouched. I have enough space on my 320 Gig HD to do that, but how? without having to format the whole thing ???

Thank you in advance !!!

Here's my fdisk -l info (I've tried to run Gparted, but it just shows me my 2 SCSI Drives 160 Gigs each with unallocated drive space):

# fdisk -l:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x69205244

Device Boot Start End Blocks Id System
/dev/sda1 1 2201 17679501 83 Linux
/dev/sda2 2202 6118 31463302+ 83 Linux
/dev/sda3 6119 6380 2104515 82 Linux swap / Solaris
/dev/sda4 6381 38914 261329355 83 Linux

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/dm-0: 320.0 GB, 320083722240 bytes
255 heads, 63 sectors/track, 38914 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x69205244

Device Boot Start End Blocks Id System
/dev/dm-0p1 1 2201 17679501 83 Linux
/dev/dm-0p2 2202 6118 31463302+ 83 Linux
/dev/dm-0p3 6119 6380 2104515 82 Linux swap / Solaris
/dev/dm-0p4 6381 38914 261329355 83 Linux

Disk /dev/dm-1: 18.1 GB, 18103809024 bytes
255 heads, 63 sectors/track, 2200 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 32.2 GB, 32218421760 bytes
255 heads, 63 sectors/track, 3917 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 2155 MB, 2155023360 bytes
255 heads, 63 sectors/track, 262 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/dm-4: 267.6 GB, 267601259520 bytes
255 heads, 63 sectors/track, 32534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-4 doesn't contain a valid partition table
 
Old 04-04-2008, 12:59 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
If you run suse 10.3 yast > system > partitioner show you with part is used by suse ,and with part is still unused.
I know if you startup the partitioner it gives you a warning but as long as do not change any think every is oke
If according to the partitioner sdb is unused then you can do every think with it for instance to create a second primary partition for a second OS If you put GRUB of the second OS in the second primary partition Suse is still there
and must it be possible to change suse boot loader in that way that she also load the second OS

BUt there are more ways to do what you like to do

all the best
 
Old 04-04-2008, 01:46 PM   #3
LinPengu
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronlau9 View Post
If you run suse 10.3 yast > system > partitioner show you with part is used by suse ,and with part is still unused.
I know if you startup the partitioner it gives you a warning but as long as do not change any think every is oke
If according to the partitioner sdb is unused then you can do every think with it for instance to create a second primary partition for a second OS If you put GRUB of the second OS in the second primary partition Suse is still there
and must it be possible to change suse boot loader in that way that she also load the second OS

BUt there are more ways to do what you like to do

all the best
Thanks for the quick help, it helped me to figure some more things out about my file system!
Now i'm at the point where i realize that i've given my /home directory 250 Gigs of my 320 possible. I wanted to resize the /home file system to create freespace for fresh partition: But can't because it needs to be unmounted/not in use... umount doesn't work in the console, it says:
:~ # umount /home
umount: /home: device is busy
umount: /home: device is busy


Anyone know a solution?
 
Old 04-04-2008, 02:13 PM   #4
LinPengu
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Weird

I'm starting to get the feeling that i'm going to have to reformat and reinstall Suse 10.3 fresh. Thanks to the weird output from fdisk -l.

I think this part is fine:

# fdisk -l:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x69205244

Device Boot Start End Blocks Id System
/dev/sda1 1 2201 17679501 83 Linux
/dev/sda2 2202 6118 31463302+ 83 Linux
/dev/sda3 6119 6380 2104515 82 Linux swap / Solaris
/dev/sda4 6381 38914 261329355 83 Linux

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000


But then this part is weird and makes no sense to my newb brain...

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/dm-0: 320.0 GB, 320083722240 bytes
255 heads, 63 sectors/track, 38914 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x69205244

Device Boot Start End Blocks Id System
/dev/dm-0p1 1 2201 17679501 83 Linux
/dev/dm-0p2 2202 6118 31463302+ 83 Linux
/dev/dm-0p3 6119 6380 2104515 82 Linux swap / Solaris
/dev/dm-0p4 6381 38914 261329355 83 Linux

Disk /dev/dm-1: 18.1 GB, 18103809024 bytes
255 heads, 63 sectors/track, 2200 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 32.2 GB, 32218421760 bytes
255 heads, 63 sectors/track, 3917 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 2155 MB, 2155023360 bytes
255 heads, 63 sectors/track, 262 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/dm-4: 267.6 GB, 267601259520 bytes
255 heads, 63 sectors/track, 32534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-4 doesn't contain a valid partition table


The Device /dev/dm... devmapper (dm-1 through dm-4) makes no sense to me, what is it and what does it do?

I just want to resize my partitions...HELP A NOOB!
 
Old 04-04-2008, 02:19 PM   #5
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
I you insist to resize it then yast will unmount it first any how did it with another drive of mine.
But I am not sure if suse is happy when you resize the home/dir I must admit that I have not done it before
But an other question is why according to fdisk drive sdb does not contain a valid partition table, is not created ?
When you install suse did you let suse to do choices ?
With install option did you use ?


all the best
 
Old 04-04-2008, 02:27 PM   #6
LinPengu
LQ Newbie
 
Registered: Apr 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Typical Normal install

everything was standard setup, i only specified that swap was 2 times the size of my RAM and adjusted the sizes of /home and /root file system. Everything else was done automatically...

Quote:
But an other question is why according to fdisk drive sdb does not contain a valid partition table, is not created ?
this "does not contain a valid partition table" problem is weird, i think this is the root of my problem, not being able to resize anything?

ARGHHH! is REFORMATING AND REINSTALLING MY ONLY CHOICE?
 
  


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
Partitioning Question gamedev86 Linux - General 5 03-01-2005 08:13 PM
Question about partitioning djljjm Linux - Software 2 11-16-2004 12:08 PM
Partitioning question blish_blash Linux - Hardware 1 10-13-2004 10:00 AM
Partitioning Question MrJBot Linux - Newbie 11 10-20-2003 06:54 PM
Partitioning Question jrdioko Linux - Newbie 3 06-15-2003 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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