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.
Linux has to come with a better setup program (for 1st time install)than this current menu-driven stuff.
OK I have been trying to setup an Ubuntu server for 2 days now but every time I set every thing including the partitions and when I reboot I get grub error 2, 22, 17 etc.etc.!? then only can re boot and run the CD again...
These errors mean that there are no Partitions set but where do all those files from CD go (I mean when it copies files from CD? ) I dont mean the RAM disk I know about that one.
OK
I want to setup my own partitions and their sizes and I only want 3 partitions
1-for booting and for system files on / like for 10 GB
2-a 2GB Swap space (which I am not sure if it has to be Primary or Logical? or at Beginning or at the End?) I think I know what they mean but ?? Not so sure in Linux.
3-Rest of the space which is about 238 GB for an LVM partition to set up xen later.
(BTW does anyone know what that option "Bootable Flag = Off/On" is?).
So this setup does not work at all. I did an Automatic Partitioning via the setup menu, but then I had sda1,2,3,5,7 on SCSI-4
and SCSI-1 had sdc1,2,5,etc.?
Nothing in order and looked so ugly and confusing so I wiped them all off and re-fdisked the hdds.
Why do those directories like /home /var /tmp etc, have to be on diff.(or their own) partitions why cant they all be made under / as they appear to be??
Does anyone have a link or some thing so I can look up as to how to custom set my partitions (and actually make them stick)?
If you want to setup partitions according to you then you will have to select Custom Manual partitioning will it asks. Do not select automatic or other methods.
That will help you in creating partitions as you want and what size you intend to give it to it.
Thanks LinuxLover;
My problem is that when I do select manual partition after it copies the files from CD, the server will not boot?!
It gives Grub Error 22.
I saw on ubuntu forum where some body said that the reason for all different partition is that if some thing goes wrong with one partition ike /var, you can format it and rebuild it not format the whole server.
Makes sense now. but still does not solve my problem.
I guess I give it another try...
Thanks
Well its pretty true that if you have different partitions created you can format partitions individually rather than complete server.
Your problem then could be bad files on the cd if you think you manually partitioned space and it is alright. You could try downloading another iso and burning to disk.
But instead of these drastic steps why not re-install grub first and see if it solves your problem.
Matey
Linux has to come with a better setup program (for 1st time install)than this current menu-driven stuff.
OK I have been trying to setup an Ubuntu server for 2 days now
First off, Ubuntu has a very good install setup for 1st time install, it's for a desktop setup though.
The install cd you chose to use is for a LAMP (Linux, Apache, MySQL, PHP) server and yes it is menu-driven, but it is intended for people that know a little about linux. (No offence intended)
Quote:
Why do those directories like /home /var /tmp etc, have to be on diff.(or their own) partitions why cant they all be made under / as they appear to be??
They don't have to be on different partitions, but if you are going to setup a mail server and be getting a ton of log files having /var (where log files are kept) on a separate partition will help keep your system running in the event the system gets flooded with log file. If /var were with / then the system could be brought to a halt from the log files eating up all the free space.
Having root / on its own partition helps if you ever need to upgrade to a newer OS you can do it without messing up any of the other partitions like /home and thus have to spend a lot of time rebuilding any users accounts.
How about you give some system specs, is your system just a desktop pc you are going to turn into a server, or is it a real server, maybe using a scsi controller card and such?
Last edited by mrrangerman; 02-24-2009 at 08:23 AM.
Reason: add info
Sounds to me like the install CD is loading the driver for your disk controller but maybe your installed system isn't.. or it is seeing the partitions/devices differntly after install.
Have you booted from a Live CD to see if all the partitions are there after install, then verified that your grub config is pointing to the correct locations ?
Sounds to me like the install CD is loading the driver for your disk controller but maybe your installed system isn't.. or it is seeing the partitions/devices differntly after install.
Have you booted from a Live CD to see if all the partitions are there after install, then verified that your grub config is pointing to the correct locations ?
I think you are right.
As for your question, yes I have gone back several times and I can see the partitions but when I high light them and look in them they have no mount points or any thing else (like ext3, swap etc.) ?!
I even go in with Alt F2 and look manually and every thing is there, I do the fdisk and then w to exit and save the partitions yet when I reboot the same thing, grub error 22. no boot!
I am getting very tired.
lol
and this thing (rack-mount server) is so noisy worse than a ted nugent (or neugent?)concert
lol
How about you learn how to use a computer instead?
been doing computers when i386 16 MHz SX was the latest and greatest.
actually my first pewter was a 286. and a tandy 1000. no hard drives back then. only 2 of those 5,1/4" floppy drives 360 or 720KB max. LOL
later if you owned a 20 or 40 meg hdd you were the king.
I bet you never seen an esdi hard drive before!
Any way even if i have a problem with the scsi/raid controller , the linux setup should address the problem instead of giving false flag by saying everything is OK and reboot!
hah!
So this server has SCSI disks in it then ?
What type of controler is in the Machine ? can you post the output of rthe following commands lspci
fdisk -l
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.