LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 04-17-2016, 01:27 AM   #1
themactech
LQ Newbie
 
Registered: Apr 2016
Posts: 2

Rep: Reputation: Disabled
CentOS 6.7 Installer config questions


I need to make a multi-function USB key with 3 partitions:

1- Anaconda CentOS Installer (minimal)
2- Working Desktop CentOS with utilities
3- Standard partition to store files/backups

I can create the Anaconda installer fine using either:

http://www.lewan.com/blog/2012/02/10...-x-from-an-iso

In which case the Anaconda installer launches fine but does not see any partitions or space to create partitions of the USB key (for me to make a Desktop install).

or using

https://www.centos.org/forums/viewtopic.php?t=29829

Which then allows me to plug this USB stick in a Desktop CentOS and using gparted, I can shrink the partition, and create the extra 2 partitions I need. Only problem is once booted in the Anaconda installer, the installer sees the disk (USB) as an iso volume and not allow to install to it.

My end goal is when I boot from the USB stick to have a grub menu asking me:

1- Boot into Anaconda installer
2- Boot into desktop CentOS

Can this be done and how? And please do not answer with "why do you want to do this, or You should do this instead" This is what I need to get done.

Thanks

Manuel
 
Old 04-17-2016, 09:48 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,138

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
What do you have in mdadm.conf?
 
Old 04-17-2016, 03:05 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
One option would be to install the desktop and grub2 so that you can boot the minimal ISO image without actually installing it. Not sure what would happen after a kernel update.

http://www.linuxquestions.org/questi...os-6-a-949220/

http://www.howtogeek.com/196933/how-...ur-hard-drive/
 
1 members found this post helpful.
Old 04-18-2016, 01:46 AM   #4
themactech
LQ Newbie
 
Registered: Apr 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
One thing that would be possible is if I could launch the Anaconda installer from a Desktop CentOS session. This way I could have only two partitions:

1- Desktop CentOS
2- Storage/Backup

I would always boot off the 1st partition, and either run the utilities I need, or launch the Anaconda installer for a minimal CentOS 6.7

Any ideas on how to run Anaconda from a Desktop CentOS?

Manuel
 
Old 04-18-2016, 04:38 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,678

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
My suggestion does just that.
 
Old 04-18-2016, 08:16 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
If you want to have a full install of CentOS plus the installation iso, the suggestion above would be the way to go. Just do a full install of CentOS, put the iso on the same partition and put a loopback entry in /etc/grub.d/40_custom if you want it permanently in the Grub menu. Make sure to run grub-mkconfig command after doing this. Then create your second data partition. A standard CentOS iso will boot directly with Grub2 with a loopback entry so maybe the Anaconda installer will also. Never tried that so I don't know.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Questions about fbterm's usage in Slint or Slackware installer Didier Spaier Slackware 2 03-05-2014 05:09 PM
Centos installer insists on RAID1 johnsfine Linux - Server 1 04-22-2009 09:29 AM
GRUB - only Centos installer is able to install right ? Vilius Red Hat 4 04-04-2009 04:39 AM
customize centos installer oliverkazaam41 Linux - General 1 03-07-2009 06:55 PM
GRUB - only Centos installer is able to install right ? Vilius Linux - Software 2 03-07-2009 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:24 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
Open Source Consulting | Domain Registration