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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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:
mount /dev/sdb5 sdb5
if this does not work, then you may need to make a filesystem first:
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. :-)
Last edited by mattjohnstone22; 02-04-2007 at 08: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.