LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux
User Name
Password
AryaLinux This forum is for the discussion of AryaLinux.

Notices


Reply
  Search this Thread
Old 10-12-2016, 03:46 AM   #1
plohoyav
LQ Newbie
 
Registered: Oct 2016
Posts: 2

Rep: Reputation: Disabled
Boot iso installer from hard drive using grub2 menuentry


I used menuentry (code below), but distribution did not boot.

menuentry "Arya install" {
insmod loopback
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
insmod xfs
set root = hd0,msdos10
set bootpart=uuid:ab6c94ab-6337-4eb0-9e2b-4f1919411067
set isofile=arya.iso
loopback loop (${root})/${isofile}
linux (loop)/isolinux/vmlinuz automatic=method:disk,${bootpart},directory:/${isofile} ramdisk_size=183210 changedisk lang=ru_RU splash noeject xdriver=auto quiet=1 showopts
initrd (loop)/isolinux/initram.fs
}
 
Old 10-13-2016, 09:19 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Hello and welcome to LQ.

Let's start by asking where did you get the idea for making that menuentry?

How do we know for sure a number of things like is iso OK/Tested and does your grub 2 have full support for your devices? Does your grub load other things.

Some examples of other distro's examples http://git.marmotte.net/git/glim/tree/grub2

Describing the failure in some way also may assist.
 
Old 10-17-2016, 02:44 AM   #3
plohoyav
LQ Newbie
 
Registered: Oct 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hello.

>where did you get the idea for making that menuentry?
From linux mint.

>is iso OK/Tested
Yes, it is OK, when i add it to Virtualbox CD-ROM.

>does your grub 2 have full support for your devices?
I don't know.

>Does your grub load other things
Linux Mint 18

>Describing the failure in some way also may assist.
When I testing menuentry like this:

menuentry "AryaLinux Mate 2016.08" {
insmod part_msdos
insmod ext2
insmod loopback
insmod iso9660
loopback loop (hd0,msdos10)/arya.iso
set root=(loop)
linux (loop)/isolinux/vmlinuz inird=initram.fs
initrd (loop)/isolinux/initram.fs
}

Monitor shows:
Loading AryaLinux.. Please wait.
FATAL: Boot medium not found.
sh: can't access tty; job control turned off
 
Old 10-19-2016, 12:19 AM   #4
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
I'm not 'heavy' on this, but here's a couple ideas: [I searched your whole loopback line]
http://askubuntu.com/questions/50029...from-grub-menu

I'd advise learning to use *grub's* `ls` (after using 'c' to get grub> command prompt)
to look for your "Boot medium". There's probably better terms, I searched: grub ls tutorial
http://www.linux.com/learn/how-rescu...g-grub-2-linux

I know zero about 'loop', but maybe research that (add it to search); here's a 'messy' one:
http://forums.mageia.org/en/viewtopi...=11364&p=66190 (might not be relevant: I don't know)

I'm wild-guessing you can do/simulate all this in VirtualBox (hmmm, a project for my studies!)

Maybe describe more about your 'distro' (the one you run, not Arya), (its working) grub.cfg, partitions, etc...

Last edited by Jjanel; 10-19-2016 at 12:37 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to boot from GRUB version 1 on an ISO on the hard drive. kevinbenko Linux - Newbie 5 01-12-2013 09:17 AM
[SOLVED] Need to install grub2 on "empty" drive, needs to only boot from a iso. brubizu Linux - Software 2 07-01-2010 08:17 AM
Mount ISO as specific device (ie: /dev/sda1) with GRUB2 to boot KNOPPIX live cd iso BLuFeNiX Linux - General 2 12-23-2009 01:31 AM
LiveCD iso boot from hard drive linuxhippy Linux - General 9 06-21-2009 06:44 AM
Boot from iso in ntfs hard-drive linux_padawan Linux - Laptop and Netbook 3 05-03-2006 10:36 PM

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

All times are GMT -5. The time now is 12:25 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