LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Has to Come Up with a Better Setup (https://www.linuxquestions.org/questions/linux-newbie-8/linux-has-to-come-up-with-a-better-setup-707097/)

Matey 02-24-2009 06:29 AM

Linux Has to Come Up with a Better Setup
 
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)?

Thanks a lot.
and sorry for the long post.

linuxlover.chaitanya 02-24-2009 06:56 AM

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.

Matey 02-24-2009 07:10 AM

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

linuxlover.chaitanya 02-24-2009 07:30 AM

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.

linus72 02-24-2009 07:34 AM

Try other distro's
 
If Ubuntu isn't working, try other distro's like these three-Slampp, Slampp-Lite and Slack-Mini-Server are Slackware-based.


For Slampp-
http://slampp.abangadek.com/wiki/wik...wakka=HomePage

For Slack-Mini-Server
http://sms.it-ccs.com/

Use Gparted if possible, and choose MANUAL partitioning.
Try these links

http://www.linuxforums.org/forum/red...tallation.html

http://www.experts-exchange.com/OS/L..._22477626.html

http://lissot.net/partition/partition-04.html

http://www.fiveanddime.net/ss/secureserver.html

check out this link too--
http://polishlinux.org/choose/quiz/

andrew22 02-24-2009 07:34 AM

Or try Super Grub.

andrew22 02-24-2009 07:36 AM

Or try Super Grub..
Double bug? Sorry.

mrrangerman 02-24-2009 08:16 AM

Quote:

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?

farslayer 02-24-2009 09:26 AM

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.

http://www.gnu.org/software/grub/man...#Stage2-errors

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 ?

Matey 02-25-2009 05:05 AM

Quote:

Originally Posted by farslayer (Post 3455694)
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.

http://www.gnu.org/software/grub/man...#Stage2-errors

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

rkelsen 02-25-2009 05:44 AM

Quote:

Originally Posted by Matey (Post 3455527)
Linux has to come with a better setup program (for 1st time install)than this current menu-driven stuff.

How about you learn how to use a computer instead? :)

Matey 02-25-2009 06:54 AM

Quote:

Originally Posted by rkelsen (Post 3456713)
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! :D

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!

farslayer 02-25-2009 08:08 AM

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


Can you also post the contents of:

/etc/fstab
/boot/grub/grub.cfg
/boot/grub/menu.lst

You may need to use a Live CD to get the requested info..

FlGator81 02-25-2009 08:21 AM

Quote:

Originally Posted by Matey (Post 3456679)
I am getting very tired.
lol
and this thing (rack-mount server) is so noisy worse than a ted nugent (or neugent?)concert
lol

Nugent rocks! ;)

rkelsen 02-25-2009 04:19 PM

Quote:

Originally Posted by Matey (Post 3456788)
been doing computers when i386 16 MHz SX was the latest and greatest.

And you can't figure out how to install Ubuntu??? Right.
Quote:

Originally Posted by Matey (Post 3456788)
I bet you never seen an esdi hard drive before!

Care to lay down some cash?


All times are GMT -5. The time now is 05:55 PM.