Link to home
Start Free TrialLog in
Avatar of zozimos
zozimos

asked on

Red Hat 7 Install

Trying to install Red Hat 7.  I'm at the point where i'm allocating mount points.  I click the + and try to add / for 20GB.  Get message 'failed to add new device click for details'.  I click and /local variable 'temp_part' referenced before assignment.    Trying to get something similar to :File System Layout

Disk Space Size

/     15 GB


/boot    250 MB


/home     8 GB


/tmp      4 GB


/u01     50 GB


/usr      5 GB


/var    
8 GB
Avatar of David Favor
David Favor
Flag of United States of America image

Looks like you're using some sort of hosting company installer.

How I've taken to setting up machines, as I do this repeatedly.

Partitions.

1) Setup /boot first. Most OS Kernels are roughly 200M. Most Distros keep 3x versions (for recovery), so your /boot minimum size will be.

1G - 3x for installed Kernels, 1x for space for 4th Kernel which is require doing Kernel upgrades, 1x for space for some random Kernel you might like installing for some reason.

2) Setup SWAP next, however large you like.

3) Now setup / to use all remaining disk space.

If you take this approach, where you setup / last + instruct your partition tool to use all remaining disk space, then there will be no math required, which can either cause errors like you mention or accidentally leaving some big chunk of disk space unallocated.
Avatar of zozimos
zozimos

ASKER

Thanks.  I don't believe so.  I just downloaded Red Hat, burned a DVD and booted up from that, but yes i'm gonna  try your  sequence now.
Avatar of zozimos

ASKER

Nopes...same thing.  Looks like it has to do with the ntfs format on the hard drive.  In Windows i had partitioned it into two 1TB partitions  believing there would be a point in the linux install process that would allow me to change to some linux file system then create /boot, ......
I see an "unknown" on the screen and when look into it ntfs and sda1
Avatar of zozimos

ASKER

There IS that option.  Just have to figure how to work it.
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zozimos

ASKER

Thanks again.  I did try setting up with 100% being / if that is what you mean.  Red Hat said i had to have /boot and one other.  With bowed head i just accepted the default partitioning and the rest took about five minutes to complete the setup.  I absolutely will try Ubuntu but first i will see if Oracle linux will let me do my own partitioning.    I was trying Red Hat first since both Oracle and Red Hat have documentation of what's needed to run Oracle database.  I see a good number of people have done it but i've not found actual Oracle documentation for Ubuntu.
Avatar of zozimos

ASKER

Forgot, Oracle just cops Red Hat's latest and puts it's name on it.  Basically identical install interface.  Will try finding old 500 or so disk and just attempt giving entire disk.  Thanks again :-)
Avatar of zozimos

ASKER

thank you
You're welcome!

https://www.oracle.com/linux/technologies/articles/xe-on-kubuntu.html provides Ubuntu + Oracle setup instructions.

Looks like you just setup the repository, per the URL provided, then just install the Oracle package, just like MariaDB or MySQL.