Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having trouble with partitioning one of my hard drves.
Windows and Suse 10.2 are installed on the first drive (150Gig) and both boot fine. There is also an extra windows partition in this (drive E apparntly, and that works fine).
However I have a second hard drive at 200Gig, and I want this to be allocated entirely to suse, but have no idea as to how to make Suse even recognise it, let alone partition it.
I went to the YAST partition thing, but it said only to use if you are an expert, and I certainly aint!
Basically, I just want to save and access files to this 2nd drive (even without partitioning it to segments) with Suse alone. I'm not bothered if windows can see it.
If you are careful, you are not going to get in big trouble partitioning that drive. You can use tools such as GParted**, or QTParted** (one of these might be on your system already), but it is just as easy to use fdisk 0r cfdisk.
Your drives in Linux are identified as /dev/hda and /dev/hdb (or maybe sda and sdb, if you have SCSI or SATA). Just be sure that you don't do anything to the 1st drive (hda) where your systems are installed.
In a terminal, first type "su" to become root, then "cfdisk" or "fdisk -l"
You should see your existing partitions on the first drive, and whatever is currently on the 2nd drive. cfdisk gives a menu of what you can do next, while fdisk is not quite as friendly.
If the 2nd disk already has any partitions, the first step will be to remove them. Then create your new Linux partition.
The next step is to create a filesystem on the partition. You will likely want to use the same system as on SUSE. To create the filesystem, you use mkfs (look at man mkfs for the details)
Let us know if you are with us so far, and we can fill in whatever you need......
**GParted comes on a stand-alone bootable CD and is a handy thing to have. QTParted in on various live CD distros--eg Knoppix
I forgot to tell you that I am completely new to this - an MS user wanting to leave it for good!!!
I know a few terminal commands but not enough perhaps for this kind of thing (selecting partitions and how to access them thru point and click afterwards etc).
I know the drives works... in NTFS its fine thru windows but I need it to be formatted and work entirely thru SUSE.
Well, I just learned something!!! cfdisk defaults to showing just one drive. Try cfdisk /dev/sdb or just fdisk -l
From the expert partitioner, we see that disk 2 already has a linux partition (sdb5) which fills the entire drive. You can try mounting this:
cd /mnt
mkdir sdb5
mount /dev/sdb5 sdb5
if this does not work, then you may need to make a filesystem first:
mkfs.ext3 /dev/sdb5
then try again to mount the partition
Once we establish everything is working, I would go back to one of the tools, delete the existing partitions, and then create ONE primary partition (not logical) which fills maybe 1/2 the disk. Leave the rest as unpartitioned space for future expansion.
I sent you an email too but I'm not 100% how these forums work so maybe you never received it.
Everything on your last post works fine, or, should I say it appears to, until it says Mount Point is wrong.
I think, however, that is my own fault, because between the other posts I have spent so much time playing about with it I kinda reckon I have ruined it althogether lol. So maybe complete format of the week number 44 is required!
Maybe it is for the best as I think my primary drive needs re-organising anyway, and I believe it's impossible to re-install Windows as a 2nd OP ?
Please stay in touch, I'll be back as soon have got this up and running again (midday tomorrow) and the 2nd drive scrubbed to zero. :-)
matt
Last edited by mattjohnstone22; 02-04-2007 at 07:19 PM.
Your second screenshot doesn't show both drives because in fdisk you have to select each one separately first. If you went back a step and selected sdb, it would show that drive's details.
If you are going to all the trouble of re-partitioning everything, why not put Win on sda and have Suse just on sdb?
Let the Suse installer do the partitioning and keep it simple.
Windoze has to be installed first because it won't recognise your other operating system and you won't be able to dual-boot, at least not without a lot of mucking around.
If you've just installed a new hard drive after Suse was installed, you would have to do mkdir and edit the file /etc/fstab to include the new drive. This would probably have been the easiest solution from the beginning.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.