LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-24-2009, 07:29 AM   #1
Matey
Member
 
Registered: Jan 2009
Posts: 114

Rep: Reputation: 17
Angry 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.
 
Old 02-24-2009, 07:56 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 02-24-2009, 08:10 AM   #3
Matey
Member
 
Registered: Jan 2009
Posts: 114

Original Poster
Rep: Reputation: 17
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
 
Old 02-24-2009, 08:30 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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.
 
Old 02-24-2009, 08:34 AM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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/

Last edited by linus72; 02-24-2009 at 08:38 AM.
 
Old 02-24-2009, 08:34 AM   #6
andrew22
Member
 
Registered: Jan 2009
Location: Heaven
Distribution: Ubuntu 8.10 , openSUSE 11.1
Posts: 56

Rep: Reputation: 16
Or try Super Grub.
 
Old 02-24-2009, 08:36 AM   #7
andrew22
Member
 
Registered: Jan 2009
Location: Heaven
Distribution: Ubuntu 8.10 , openSUSE 11.1
Posts: 56

Rep: Reputation: 16
Or try Super Grub..
Double bug? Sorry.

Last edited by andrew22; 02-24-2009 at 08:39 AM. Reason: double post.
 
Old 02-24-2009, 09:16 AM   #8
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
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?

Last edited by mrrangerman; 02-24-2009 at 09:23 AM. Reason: add info
 
Old 02-24-2009, 10:26 AM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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 ?
 
Old 02-25-2009, 06:05 AM   #10
Matey
Member
 
Registered: Jan 2009
Posts: 114

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by farslayer View Post
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
 
Old 02-25-2009, 06:44 AM   #11
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,960

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Quote:
Originally Posted by Matey View Post
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?
 
Old 02-25-2009, 07:54 AM   #12
Matey
Member
 
Registered: Jan 2009
Posts: 114

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by rkelsen View Post
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!
 
Old 02-25-2009, 09:08 AM   #13
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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..
 
Old 02-25-2009, 09:21 AM   #14
FlGator81
Member
 
Registered: Nov 2008
Location: Baltimore
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 21
Quote:
Originally Posted by Matey View Post
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!
 
Old 02-25-2009, 05:19 PM   #15
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,960

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Quote:
Originally Posted by Matey View Post
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 View Post
I bet you never seen an esdi hard drive before!
Care to lay down some cash?
 
  


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
Slackware 12.0 setup cannot find linux partitions to install too after fdisk setup . TDurden1937 Slackware - Installation 1 10-25-2008 09:18 PM


All times are GMT -5. The time now is 08:59 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