Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-27-2017, 08:00 AM
|
#16
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
/dev/mapper means the system is using LVM.
You say you are getting a blank screen.
Be more specific.
Does the system POST?
Do you see the GRUB screen?
Does the screen turn blank after booting? At exactly which point?
Does the GUI not start? (Gawdforbade putting a GUI on a server)
LVM does not preclude booting from this hard disk in a different system.
Hardware does not need to be the same. Not at all. udev is smart enough to figure out most.
Processor architecture must be identical.
jlinkels
|
|
|
09-27-2017, 08:51 AM
|
#17
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
Quote:
Originally Posted by jamison20000e
I agree the hardware needs be the same, unless you* work some magic... 
|
No, there is no need for the hardware to be the same. It may be necessary to deactivate "Secure Boot" in the BIOS (or vice versa), depending on whether or not you want to use MBR on all computers or UEFI on all computers (bearing in mind older computers can't even do UEFI at all). Other than that, a hard drive can just be moved and it will boot.
Now, cloning using dd may be problematic in certain cases - when using btrfs, in particular, you have to be absolutely sure that two hard drive clones are NEVER hooked up to the same computer at the same time. And I'm not sure, but things may be break with LVM also, if two hard drive clones are hooked up to the same computer at the same time.
But with plain old MBR and ext4 partitions? Not really a problem. You just have to be wary of the possibility of mounting the wrong drive's partition if the UUID is the same.
|
|
|
09-27-2017, 08:58 AM
|
#18
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
Quote:
Originally Posted by cipherbing
So I have some really old systems that does work the way I want. I compared them to the newer systems that doesn't work.
On newer systems df returns thus:
[root@server1.int ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_server1-lv_root
18G 5.7G 11G 35% /
tmpfs 939M 72K 939M 1% /dev/shm
/dev/sda1 485M 140M 321M 31% /boot
On older systems df returns:
[root@server1.int ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 18G 5.7G 11G 35% /
So what is this /dev/mapper stuff?
|
It is LVM. This is not used by most linux installers by default, but it is used by default with certain linux distributions. You have not told us what linux distribution has been causing you a problem. Please do so.
If you do not understand LVM, you have two options:
1) Learn LVM, and learn it well.
or
2) Simply don't use LVM.
Unless you have a specific compelling reason to use LVM, don't use it. I don't use LVM, and I don't miss its capabilities.
|
|
|
09-27-2017, 09:12 AM
|
#19
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,843
|
Quote:
So I have some really old systems that does work the way I want. I compared them to the newer systems that doesn't work
|
how old is old and how new is new? Are you trying to boot drives from the old on the new?
|
|
|
09-27-2017, 11:01 AM
|
#20
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,535
|
EFI and later UEFI have been gradually introduced from the early 2000s, and are universal in all pcs from 2012. That certainly affects booting. Another change was MBR --> GPT for partition tables, and IDE --> SATA for drives. In m laptop (Samsung NP350C-A06UK - Vintage 2013) a GPT internal disk automatically invokes UEFI, regardless of BIOS setting.
That's why I suggested PXE - a network system, which avoids all that.
|
|
|
09-27-2017, 02:01 PM
|
#21
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
Quote:
Originally Posted by business_kid
EFI and later UEFI have been gradually introduced from the early 2000s, and are universal in all pcs from 2012. That certainly affects booting. Another change was MBR --> GPT for partition tables, and IDE --> SATA for drives. In m laptop (Samsung NP350C-A06UK - Vintage 2013) a GPT internal disk automatically invokes UEFI, regardless of BIOS setting.
That's why I suggested PXE - a network system, which avoids all that.
|
That's a good point, but I thought your suggestion was to run an installer via PXE, which would take a lot of time and effort for hundreds of computers. The OP wants to only set things up on one computer, and then clone it to hundreds of identical installs. Not run hundreds of base installs and then customizing them identically hundreds of times.
The simplest way to do what the OP wants is simply to use pretty much any desired distribution and install onto an MBR drive with ext4 partition. AFAIK, even the few which default to using LVM still allow installing onto a normal MBR with ext4. MBR is good for drives up to 2TB, and there aren't many enterprises which need banks of hundreds of computers with more than 2TB drives in each (hint - they already have plenty of expert server folks who know what they're doing). For most enterprises, those hundreds of computers will be client workstations rather than servers; it will make more sense to install much smaller SSDs than 3+TB spinning hard drives on them.
That said, I do think that with hundreds of computers it can be good to do PXE boot of the OS (not an installer, the actual OS). But it does require some more expertise to set up and administer, and you need to consider how to mitigate the bandwidth requirements. That's why I made the different suggestions for NFS root and RAMBOOT (tmpfs root).
|
|
|
09-27-2017, 03:39 PM
|
#22
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
Are you including all generic drivers for a system (would think that's default for most I know Debian asks one or the other:) or just targeting the ones needed from the first install? 
|
|
|
09-27-2017, 04:13 PM
|
#23
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
The Debian installer does not ask which drivers to install. It just installs pretty much everything that is commonly used (and which also follows Debian's Software Guidelines for open source software).
You can optionally install other software - especially non-free wifi and video drivers - but this is generally done after the initial install from within the OS itself, not by the installer. I usually install the wifi drivers for all of my computers, knowing that I will eventually swap and/or clone the drive to other laptops at some point (maybe). It's easier for me to just install everything that I might need later on if I move things around.
|
|
|
09-27-2017, 04:27 PM
|
#24
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
Don't have time to search or do a full install for the exact question Debian installs ask me but this seems close enough: http://forums.debian.net/viewtopic.p...=71707#p399893
|
|
|
09-27-2017, 04:50 PM
|
#25
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
Quote:
Originally Posted by jamison20000e
|
I have done Debian 6 installs, and it did not ask me this question. Maybe it's a step which only shows up if you manually step through various steps that the default install does not normally expose.
Here's a screenshot list of a Debian 6 install (it's very similar to a current Debian 9 install; Debian 9 gives you more options for different desktop environments to install):
http://go2linux.garron.me/linux/2011...nd-review-891/
There is no point during the install where it asks anything about the initrd.
|
|
|
09-27-2017, 05:11 PM
|
#26
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
Even as far back as 6 I've done "expert install" (sorry) and to anyone new don't be thrown if you'r not an expert, it is the best way to install.
Add: I'm off to work, have fun. 
|
|
|
10-01-2017, 10:44 AM
|
#27
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,862
Rep: 
|
You can remaster Antix & MX Linux to have whatever programs you want on it & then use that to install to any machine.
http://antix.mepis.org/index.php?title=Main_Page
But with the amount of machines you have, I'd duplicate your remastered system so as to install in as many as possible at the same time.
(But I would still suggest using a server to do the installs to so many machines.)
Last edited by fatmac; 10-01-2017 at 10:45 AM.
|
|
|
10-01-2017, 02:43 PM
|
#28
|
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
|
Quote:
Originally Posted by jamison20000e
Even as far back as 6 I've done "expert install" (sorry) and to anyone new don't be thrown if you'r not an expert, it is the best way to install.
Add: I'm off to work, have fun. 
|
What benefits are there to the expert install? I have always used the default install with manual partitioning (instead of the options to use the whole disk). I have done this because I have found it to minimize the amount of effort I have to put in.
Fundamentally, my choice of using Debian over various Debian and Ubuntu based distributions I've tried out over the years has revolved around minimizing headaches and effort. Long term maintainability has really been the deal killer for most Debian/Ubuntu based distributions, vs plain old Debian Stable. My original RAMBOOT hack involved a lot of culling of unneeded files to minimize OS space, but this meant that maintaining the system involved reboots and (admittedly automated) remastering of the OS image file. I abandoned RAMBOOT for years due to the extra maintenance effort, until my computers had enough RAM for a far easier to maintain RAMBOOT hack (the current version is easy to maintain, even across distribution upgrades, with no "remastering" required).
But I simply have not tried the expert install more than maybe once or twice accidentally - or maybe to use LILO instead of GRUB. I don't know what potential benefits I'm missing.
|
|
|
10-01-2017, 05:38 PM
|
#29
|
Senior Member
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
|
You see* more, get* more... that's all. 
|
|
|
10-02-2017, 01:56 AM
|
#30
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
I agree with IsaacKuo. I have made over a hundred Debian installs and I never felt the need to do an expert installation. Neither for workstation, nor for server installations. My requirements for disk partitions are varying (a lot!) but every option is covered by the standard partitioner. Including RAID, LVM and encryption.
Some examples of expert options?
jlinkels
|
|
|
All times are GMT -5. The time now is 11:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|