LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-18-2013, 03:09 AM   #1
bkupiecki
LQ Newbie
 
Registered: Sep 2013
Posts: 5

Rep: Reputation: Disabled
Installing Linux from HD


Hi, i am working right now on linux distribution from SCCM, and need some help
I have a windows PE starting from network, and with that i can copy files, create partitions and use GRUB, but i want to install Linux from local disk, be it from file, or iso, just how to install Linux without CD or Pendrive?I want to install Centos specificaly.
 
Old 09-18-2013, 05:02 AM   #2
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92
Blog Entries: 1

Rep: Reputation: Disabled
welcome to LQ i am not able to understanding what actuly you want
Installation can be done by three way
1) Optical media
2) USB
3) Network Boot

If you don't want to install from cd/dvd and USB then you can use PE kickstart network boot method to install the linux OS.

http://josephtingiris.blogspot.in/20...-pxe-boot.html

Last edited by jitendra.sharma; 09-18-2013 at 05:06 AM.
 
Old 09-18-2013, 07:38 AM   #3
bkupiecki
LQ Newbie
 
Registered: Sep 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Well, i cant use Optical Drive (maybe virtual, but i only have access to windows PE and GRUB), also cant use USB.
I could use some network data, but i can configure LinuxPXE, because i already have a PXE server, can i start network instalation without PXE server from windows PE or GRUB?
 
Old 09-18-2013, 09:43 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
You should be able to do it by first loop mounting the iso file of CentOS, copying it to a directory (best in the / (root) of the filesystem and then putting an entry in your grub.conf so you can select it on boot and install to a separate partition. I've only done this on a Linux filesystem partition. That's it in general terms but you've only posted general information.
 
Old 09-18-2013, 10:06 AM   #5
bkupiecki
LQ Newbie
 
Registered: Sep 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
So can i just:
1)Make a partition with GRUB
2)Copy the data from ISO installed to another partition
3)Boot the second partition and install the OS?

My main question is, will it install? The OS install files can be on a HD? Just unpacked?
 
Old 09-18-2013, 02:31 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,534

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Quote:
Make a partition with GRUB
If you mean create a separate Grub partition, that would be a start. However, in your initial post, you indicate you can 'use Grub', whatever that means. If you already use Grub as a primary or secondary bootloader, you could put the extracted CentOS files on a separate partition or on a Linux partition and put an entry in the grub.cfg, menu.lst or grub.conf file, whichever you have (grub.conf?).

If you already have a Linux partition, you would loop mount the iso, then copy it to a directory, I usually put it in the / of the filesystem and then put an appropriate entry in the grub.conf file. Usually you can modify the syslinux.cfg or isolinux.cfg entry for Grub. I don't know your partition structure. You could extract the files to the same partition you have Grub on if you create a separate partition for it. You would need to install to a different partition.

I've done this with several distributions, not including CentOS or Fedora, and it worked. Some distributions were problematic if I tried to install on the same hard drive, others were fine.
 
Old 09-18-2013, 03:10 PM   #7
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quick question: Where are you that you can't access the DVD drive or USB ports? Is this a remote system somehow?
 
Old 09-19-2013, 02:52 AM   #8
bkupiecki
LQ Newbie
 
Registered: Sep 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi guys, thanks a lot for help, that explain a lot.
So to specify what i have:
i have a windows partition with GRUB, i will find some tool for windows PE, to make 2 other partitions, and i will copy the instalation files to one of them, and install the OS on the third one, hope it works
Regarding why i cant use USB/DVD, yes, i am in a remote location, i want do prepare it so that it will do zero touch instalation with starting from SCCM, and then installing from kickstart (i have kickstart already prepared, i just need to boot an iso from the HD).

I will try this today, if you have any more ideas for me, i will be happy to listen to them.

Once more thanks alot for all answers, the people at SCCM forum were not that helpful.
 
Old 09-19-2013, 09:13 AM   #9
bkupiecki
LQ Newbie
 
Registered: Sep 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Ok, i did it, installed grub4dos and started the installation from HD, everything worked fine, thanks a lot for your help.
 
  


Reply



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
installing problem xp after installing linux paruhang Linux - Newbie 2 10-20-2011 02:38 PM
installing aurora linux in sun blade 150----not installing? kingston Linux - General 1 01-14-2010 07:10 AM
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 10:45 AM
installing default packages after installing linux ninux Linux - Newbie 5 09-12-2007 07:00 AM
Installing Windows after installing LINUX brads@kwlink.com Linux - General 4 01-08-2006 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 AM.

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