Choose style:

Author Topic: Boot from Iso file(SOLVED)  (Read 990 times)

0 Members and 1 Guest are viewing this topic.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file(SOLVED)
« Reply #15 on: August 24, 2018, 01:03:16 pm »
The
set isofile="/Downloads/Zorin-OS-12.1-Core-64.iso"
defines the isofile variable as /Downloads/Zorin-OS-12.1-Core-64.iso
so the line:
loopback loop (hd0,msdos3)$isofile
says look for the loopback loop device is at:-
(hd0,mdsod3)/Downloads/Zorin-OS-12.1-Core-64.iso
which equals:--
hard-drive0,partition3/Downloads/Zorin-OS-12.1-Core-64.iso
(which is the correct location of the file).

Remember, you're talking about GRUB here, so at the point this boot stanza gets read, the symlinks in your home folder to /mnt/DATA aren't set up yet (so pointing at them won't work) .. so you need to give the PROPER path to the iso file.
« Last Edit: August 24, 2018, 08:42:34 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 973
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file(SOLVED)
« Reply #16 on: August 24, 2018, 08:38:32 pm »
The
set isofile="/Downloads/Zorin-OS-12.1-Core-64.iso"
defines the isofile variable as /Downloads/Zorin-OS-12.1-Core-64.iso
so the line:
loopback loop (hd0,msdos3)$isofile
stays look the loopback loop device is at:-
(hd0,mdsod3)/Downloads/Zorin-OS-12.1-Core-64.iso
which equals:--
hard-drive0,partition3/Downloads/Zorin-OS-12.1-Core-64.iso
(which is the correct location of the file).

Remember, you're talking about GRUB here, so at the point this boot stanza gets read, the symlinks in your home folder to /mnt/DATA aren't set up yet (so pointing at them won't work) .. so you need to give the PROPER path to the iso file.

So the DATA directory is just the OS's container to organize the folders. Thanks again.
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file(SOLVED)
« Reply #17 on: August 25, 2018, 09:29:39 am »
Okay this is REALLY hard to explain.

Because you're using a DATA partition (symlinked from the / partition) at the moment the GRUB item is selected by you, GRUB has no idea about
/home/alex/Downloads
from GRUB's perspective it doesn't exist because it's a symlink who's path doesn't exist YET ..  it only gets set up when /etc/fstab is read (so /mnt/DATA gets mounted), which is MUCH later in the boot process.

So for GRUB you have to state the ACTUAL/REAL path to the ISO image.

Which is on:-
a) the first hard drive (hd0)    <-- the counting of HDD's starts with 0
b) the third msdos partition on that hard drive (msdos3)    <-- the counting of PARTITIONS starts with 1
c) in a directory on that partition (starting at the root of the partition) /Downloads

Hence:-
(hd0,msdos3)/Downloads/Zorin-OS-12.1-Core-64.iso
« Last Edit: August 25, 2018, 09:40:17 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 973
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file(SOLVED)
« Reply #18 on: August 25, 2018, 10:03:56 am »
I found this discussion on how to install ubuntu direct from the harddrive. I'll give this a go to see if it works,

https://askubuntu.com/questions/484434/install-ubuntu-without-cd-and-usb-how
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file(SOLVED)
« Reply #19 on: August 25, 2018, 11:23:22 am »
So is the problem that your machine refuses to boot a LiveDVD/LiveUSB ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 973
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file(SOLVED)
« Reply #20 on: August 25, 2018, 11:38:06 am »
So is the problem that your machine refuses to boot a LiveDVD/LiveUSB ?

Not my machine, garamel had this problem and I think a few others complained about not being able to boot a usb stick after making all the recommendations mentioned. I did install unetbootin and successfully installed P9 into another partition of my hard drive, so I know that method works. I may write a tutorial about it if you think that would be prudent. The only thing I need help with would be how to remove unetbootin from the boot menu. Any ideas on how to do that?
What was I thinking?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file(SOLVED)
« Reply #21 on: August 25, 2018, 11:48:17 am »
I'm not sure there's a problem with the USB stick and/or Unetbootin

I thought garamel's problem was more one DURING the installation .. ie. something to do with the Dell recovery partition, so I doubt this would help.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25082
  • Karma: 2774
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Boot from Iso file(SOLVED)
« Reply #22 on: August 25, 2018, 11:50:04 am »
The only thing I need help with would be how to remove unetbootin from the boot menu. Any ideas on how to do that?

Depends how it got added ?

What's the contents of
Code: [Select]
xed /boot/grub/grub.cfg
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline alynur

  • Trusted User
  • Member
  • *****
  • Posts: 973
  • Karma: 54
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9 (64bit), P 9 R
Re: Boot from Iso file(SOLVED)
« Reply #23 on: August 25, 2018, 04:09:38 pm »
The only thing I need help with would be how to remove unetbootin from the boot menu. Any ideas on how to do that?

Depends how it got added ?

What's the contents of
Code: [Select]
xed /boot/grub/grub.cfg

This is getting easier by the minute. The unetbootin boot entry on the boot menu disappears after selecting it. So it disappeared all by itself.
What was I thinking?