Welcome!
Important information
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.1 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Install to hard drive from ISO-boot [solved]

c7RAfN0H
Forum Novice
Forum  Novice
Posts: 9
Joined: Mon Dec 24, 2018 2:11 pm

Re: Install to hard drive from ISO-boot [solved]

#11

Post by c7RAfN0H » Wed Jan 02, 2019 11:02 am

fehlix wrote:
Tue Jan 01, 2019 6:48 pm
here the "fixed" device ( which works as long as grub and linux sees "(hd0,1)" == "/dev/sda1"

Code: Select all

   menuentry "ISO-Boot: MX-18_x64.iso - lang=en_US kbd=us tz=America/New_York" {
      loopback loop (hd0,1)/MX-18_x64.iso
      set root=(loop)
      linux  /antiX/vmlinuz bdev=/dev/sda1 fromiso=/MX-18_x64.iso quiet lang=en_US  kbd=us tz=America/New_York
      initrd /antiX/initrd.gz
   }   
Thanks again for all your help fehlix. In the interest of least moving parts, your second suggestion is pretty much what I've ended up with, with a couple additional hardware specific parameters and set to load to ram.

/boot/grub/custom.cfg

Code: Select all

# re:https://forum.mxlinux.org/viewtopic.php?f=92&t=47650

menuentry "MX-18_x64.iso" {
  loopback loop (hd0,1)/MX-18_x64.iso
  set root=(loop)
  linux  /antiX/vmlinuz bdev=/dev/sda1 fromiso=/MX-18_x64.iso quiet lang=en_US  kbd=us tz=America/New_York acpi_backlight=native video=VGA-1:d toram
  initrd /antiX/initrd.gz
}
fehlix wrote:
Tue Jan 01, 2019 6:48 pm
And yes you can install, with two potential restrictions:
do install to an empty ( or better) pre-exstings partiton as (non-enrypted).
Do not install grub to the MBR but rather to "root",
in order to avoid to overwrite your existing grub (with encryption)
Boot into the encrypted install and run within the encrypted installation

Code: Select all

sudo update-grub
I'm on board with for unencrypted installation of MX, but if I install I plan to overwrite my current Debian installation. In that case I guess... I guess I could still use the existing grub install on /dev/sda1, couldn't I... I don't know, I'm not sure if I'm going to install it like this because I could trash my hdd if I misstep, might hold out til I can grab a flash drive, but again, thanks for the pointers!

If I go through with it like this I'll let you all know how it went

edit: Changed title from "install from grml-rescueboot" to "Install to hard drive from ISO-boot [solved]" to reflect thread topic development

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3121
Joined: Wed Apr 11, 2018 5:09 pm

Re: Install to hard drive from ISO-boot [solved]

#12

Post by fehlix » Wed Jan 02, 2019 2:52 pm

c7RAfN0H wrote:
Wed Jan 02, 2019 11:02 am
I guess I could still use the existing grub install on /dev/sda1, couldn't I... I don't know, I'm not sure if I'm going to install it like this because I could trash my hdd if I misstep, might hold out til I can grab a flash drive, but again, thanks for the pointers!
Yes, that should work. Better keep existing grub of the encrypted install.
(At least I haven't tested to overwrite the grub with encryption, with another one - it might work.
But as a begin with just install grub to root (not mbr) , this would not touch the
encrypted insallation. So it might be saver.)
I should have mentioned, if you only have one hdd/sdd (/dev/sda),
the ISO-file is mounted and stays mounted, which will make the
gui MX-Installer, not to list the drive /dev/sda.
So in this case to install onto the same hdd/sdd where the ISO-file
is mounted from, do run the command line (antix) installer:

Code: Select all

sudo cli-installer
and carefully select the partition you are going to install on
and select not mbr but just root to install grub to.
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Installation”