Grub - boot debian iso file from ntfs partition and install it
Clash Royale CLAN TAG#URR8PPP
I have problem installing debian directly from hard drive. Say, i have a logical partition /dev/sda5
and there is debian DVD iso file located in (hd0,5)/iso/debian-8.0.0-amd64-DVD-1.iso
with initrd
file there too. Then I created grub menu entry with this:
menuentry "Debian Jessie (stable)"
set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/iso/debian-8.0.0-hdd.initrd.gz'
loopback loop (hd0,5)$isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd (hd0,5)$initrdfile
Booting is successful. But, when come to searching debian CD it fails. The iso file cannot be found by installer. If I use USB drive, every thing goes fine. In USB, I put debian DVD iso in `/boot/iso/debian-8.0.0-amd64-DVD-1.iso'. And the menuentry look like this:
menuentry 'Debian Jessie (stable)'
set isofile='/boot/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/boot/iso/debian-8.0.0-amd64-DVD-1.hdd.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd $initrdfile
My /dev/sda5
is formatted in NTFS
and my USB drive is formatted in FAT32
. So, I guess the problem is because of filesystem format. And if it is, how can I boot debian iso file properly from NTFS partition?
Update
The NTFS partiton is logical partition. Is it causeing problem too?
debian boot grub2 ntfs iso
add a comment |
I have problem installing debian directly from hard drive. Say, i have a logical partition /dev/sda5
and there is debian DVD iso file located in (hd0,5)/iso/debian-8.0.0-amd64-DVD-1.iso
with initrd
file there too. Then I created grub menu entry with this:
menuentry "Debian Jessie (stable)"
set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/iso/debian-8.0.0-hdd.initrd.gz'
loopback loop (hd0,5)$isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd (hd0,5)$initrdfile
Booting is successful. But, when come to searching debian CD it fails. The iso file cannot be found by installer. If I use USB drive, every thing goes fine. In USB, I put debian DVD iso in `/boot/iso/debian-8.0.0-amd64-DVD-1.iso'. And the menuentry look like this:
menuentry 'Debian Jessie (stable)'
set isofile='/boot/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/boot/iso/debian-8.0.0-amd64-DVD-1.hdd.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd $initrdfile
My /dev/sda5
is formatted in NTFS
and my USB drive is formatted in FAT32
. So, I guess the problem is because of filesystem format. And if it is, how can I boot debian iso file properly from NTFS partition?
Update
The NTFS partiton is logical partition. Is it causeing problem too?
debian boot grub2 ntfs iso
From this related thread in ubuntu forums, you may have to insert additional modules in the menuentry, such asinsmod ntfs
.
– Vincent Nivoliers
Apr 29 '15 at 11:08
Not working. The install still can't detect iso image file.
– Mas Bagol
Apr 29 '15 at 14:26
add a comment |
I have problem installing debian directly from hard drive. Say, i have a logical partition /dev/sda5
and there is debian DVD iso file located in (hd0,5)/iso/debian-8.0.0-amd64-DVD-1.iso
with initrd
file there too. Then I created grub menu entry with this:
menuentry "Debian Jessie (stable)"
set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/iso/debian-8.0.0-hdd.initrd.gz'
loopback loop (hd0,5)$isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd (hd0,5)$initrdfile
Booting is successful. But, when come to searching debian CD it fails. The iso file cannot be found by installer. If I use USB drive, every thing goes fine. In USB, I put debian DVD iso in `/boot/iso/debian-8.0.0-amd64-DVD-1.iso'. And the menuentry look like this:
menuentry 'Debian Jessie (stable)'
set isofile='/boot/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/boot/iso/debian-8.0.0-amd64-DVD-1.hdd.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd $initrdfile
My /dev/sda5
is formatted in NTFS
and my USB drive is formatted in FAT32
. So, I guess the problem is because of filesystem format. And if it is, how can I boot debian iso file properly from NTFS partition?
Update
The NTFS partiton is logical partition. Is it causeing problem too?
debian boot grub2 ntfs iso
I have problem installing debian directly from hard drive. Say, i have a logical partition /dev/sda5
and there is debian DVD iso file located in (hd0,5)/iso/debian-8.0.0-amd64-DVD-1.iso
with initrd
file there too. Then I created grub menu entry with this:
menuentry "Debian Jessie (stable)"
set isofile='/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/iso/debian-8.0.0-hdd.initrd.gz'
loopback loop (hd0,5)$isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd (hd0,5)$initrdfile
Booting is successful. But, when come to searching debian CD it fails. The iso file cannot be found by installer. If I use USB drive, every thing goes fine. In USB, I put debian DVD iso in `/boot/iso/debian-8.0.0-amd64-DVD-1.iso'. And the menuentry look like this:
menuentry 'Debian Jessie (stable)'
set isofile='/boot/iso/debian-8.0.0-amd64-DVD-1.iso'
set initrdfile='/boot/iso/debian-8.0.0-amd64-DVD-1.hdd.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz iso-scan/ask_second_pass=true iso-scan/filename=$isofile
initrd $initrdfile
My /dev/sda5
is formatted in NTFS
and my USB drive is formatted in FAT32
. So, I guess the problem is because of filesystem format. And if it is, how can I boot debian iso file properly from NTFS partition?
Update
The NTFS partiton is logical partition. Is it causeing problem too?
debian boot grub2 ntfs iso
debian boot grub2 ntfs iso
edited Apr 29 '15 at 9:12
Mas Bagol
asked Apr 29 '15 at 8:23
Mas BagolMas Bagol
2982716
2982716
From this related thread in ubuntu forums, you may have to insert additional modules in the menuentry, such asinsmod ntfs
.
– Vincent Nivoliers
Apr 29 '15 at 11:08
Not working. The install still can't detect iso image file.
– Mas Bagol
Apr 29 '15 at 14:26
add a comment |
From this related thread in ubuntu forums, you may have to insert additional modules in the menuentry, such asinsmod ntfs
.
– Vincent Nivoliers
Apr 29 '15 at 11:08
Not working. The install still can't detect iso image file.
– Mas Bagol
Apr 29 '15 at 14:26
From this related thread in ubuntu forums, you may have to insert additional modules in the menuentry, such as
insmod ntfs
.– Vincent Nivoliers
Apr 29 '15 at 11:08
From this related thread in ubuntu forums, you may have to insert additional modules in the menuentry, such as
insmod ntfs
.– Vincent Nivoliers
Apr 29 '15 at 11:08
Not working. The install still can't detect iso image file.
– Mas Bagol
Apr 29 '15 at 14:26
Not working. The install still can't detect iso image file.
– Mas Bagol
Apr 29 '15 at 14:26
add a comment |
3 Answers
3
active
oldest
votes
You need download initrd.gz
from hd-media directory and put it in the same directory with the image file and give it a suitable name.
For example my grub.cfg
menuentry 'Debian Jessie (stable) graphical expert'
set isofile='/iso/debian-8.3.0-amd64-lxde-CD-1.iso'
set initrdfile='/iso/gtk/debian-8.3.0-amd64-lxde-CD-1.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz findiso=$isofile dekstop=lxde priority=low gfxpayload=1024x768x32
initrd $initrdfile
I find solution in Reddit
and here
add a comment |
For Debian 8 (jessie), you need different options to find the iso image (the option you specified are valid for Ubuntu).
Change your grub entry as follows:
linux (loop)/install.amd/vmlinuz findiso=$isofile
add a comment |
You must download the hd-media/vmlinuz and hd-media/initrd.gz and use them as the Linux kernel and initial ramdisk respectively. You can't use the vmlinuz and initrd.gz inside the Debian ISO image. The Debian ISO image is the CD the installer ask for.
Here's a detailed guide on my blog : https://www.linuxbabe.com/debian/boot-debian-9-iso-from-hard-drive-grub2
2
Hello, and welcome to Unix & Linux. Linking to a blog or similar for background and more information is fine, but if you are linking to your own site, you definitely need to be explicit about it. See How not to be a spammer.
– tripleee
Apr 11 '18 at 6:53
@tripleee Just edited my answer.
– LinuxBabe
Apr 11 '18 at 7:05
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f199339%2fgrub-boot-debian-iso-file-from-ntfs-partition-and-install-it%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need download initrd.gz
from hd-media directory and put it in the same directory with the image file and give it a suitable name.
For example my grub.cfg
menuentry 'Debian Jessie (stable) graphical expert'
set isofile='/iso/debian-8.3.0-amd64-lxde-CD-1.iso'
set initrdfile='/iso/gtk/debian-8.3.0-amd64-lxde-CD-1.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz findiso=$isofile dekstop=lxde priority=low gfxpayload=1024x768x32
initrd $initrdfile
I find solution in Reddit
and here
add a comment |
You need download initrd.gz
from hd-media directory and put it in the same directory with the image file and give it a suitable name.
For example my grub.cfg
menuentry 'Debian Jessie (stable) graphical expert'
set isofile='/iso/debian-8.3.0-amd64-lxde-CD-1.iso'
set initrdfile='/iso/gtk/debian-8.3.0-amd64-lxde-CD-1.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz findiso=$isofile dekstop=lxde priority=low gfxpayload=1024x768x32
initrd $initrdfile
I find solution in Reddit
and here
add a comment |
You need download initrd.gz
from hd-media directory and put it in the same directory with the image file and give it a suitable name.
For example my grub.cfg
menuentry 'Debian Jessie (stable) graphical expert'
set isofile='/iso/debian-8.3.0-amd64-lxde-CD-1.iso'
set initrdfile='/iso/gtk/debian-8.3.0-amd64-lxde-CD-1.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz findiso=$isofile dekstop=lxde priority=low gfxpayload=1024x768x32
initrd $initrdfile
I find solution in Reddit
and here
You need download initrd.gz
from hd-media directory and put it in the same directory with the image file and give it a suitable name.
For example my grub.cfg
menuentry 'Debian Jessie (stable) graphical expert'
set isofile='/iso/debian-8.3.0-amd64-lxde-CD-1.iso'
set initrdfile='/iso/gtk/debian-8.3.0-amd64-lxde-CD-1.initrd.gz'
loopback loop $isofile
linux (loop)/install.amd/vmlinuz findiso=$isofile dekstop=lxde priority=low gfxpayload=1024x768x32
initrd $initrdfile
I find solution in Reddit
and here
answered Mar 31 '16 at 11:09
zlyohazlyoha
11624
11624
add a comment |
add a comment |
For Debian 8 (jessie), you need different options to find the iso image (the option you specified are valid for Ubuntu).
Change your grub entry as follows:
linux (loop)/install.amd/vmlinuz findiso=$isofile
add a comment |
For Debian 8 (jessie), you need different options to find the iso image (the option you specified are valid for Ubuntu).
Change your grub entry as follows:
linux (loop)/install.amd/vmlinuz findiso=$isofile
add a comment |
For Debian 8 (jessie), you need different options to find the iso image (the option you specified are valid for Ubuntu).
Change your grub entry as follows:
linux (loop)/install.amd/vmlinuz findiso=$isofile
For Debian 8 (jessie), you need different options to find the iso image (the option you specified are valid for Ubuntu).
Change your grub entry as follows:
linux (loop)/install.amd/vmlinuz findiso=$isofile
answered Jul 13 '15 at 22:59
mddmdd
1012
1012
add a comment |
add a comment |
You must download the hd-media/vmlinuz and hd-media/initrd.gz and use them as the Linux kernel and initial ramdisk respectively. You can't use the vmlinuz and initrd.gz inside the Debian ISO image. The Debian ISO image is the CD the installer ask for.
Here's a detailed guide on my blog : https://www.linuxbabe.com/debian/boot-debian-9-iso-from-hard-drive-grub2
2
Hello, and welcome to Unix & Linux. Linking to a blog or similar for background and more information is fine, but if you are linking to your own site, you definitely need to be explicit about it. See How not to be a spammer.
– tripleee
Apr 11 '18 at 6:53
@tripleee Just edited my answer.
– LinuxBabe
Apr 11 '18 at 7:05
add a comment |
You must download the hd-media/vmlinuz and hd-media/initrd.gz and use them as the Linux kernel and initial ramdisk respectively. You can't use the vmlinuz and initrd.gz inside the Debian ISO image. The Debian ISO image is the CD the installer ask for.
Here's a detailed guide on my blog : https://www.linuxbabe.com/debian/boot-debian-9-iso-from-hard-drive-grub2
2
Hello, and welcome to Unix & Linux. Linking to a blog or similar for background and more information is fine, but if you are linking to your own site, you definitely need to be explicit about it. See How not to be a spammer.
– tripleee
Apr 11 '18 at 6:53
@tripleee Just edited my answer.
– LinuxBabe
Apr 11 '18 at 7:05
add a comment |
You must download the hd-media/vmlinuz and hd-media/initrd.gz and use them as the Linux kernel and initial ramdisk respectively. You can't use the vmlinuz and initrd.gz inside the Debian ISO image. The Debian ISO image is the CD the installer ask for.
Here's a detailed guide on my blog : https://www.linuxbabe.com/debian/boot-debian-9-iso-from-hard-drive-grub2
You must download the hd-media/vmlinuz and hd-media/initrd.gz and use them as the Linux kernel and initial ramdisk respectively. You can't use the vmlinuz and initrd.gz inside the Debian ISO image. The Debian ISO image is the CD the installer ask for.
Here's a detailed guide on my blog : https://www.linuxbabe.com/debian/boot-debian-9-iso-from-hard-drive-grub2
edited Apr 11 '18 at 7:03
answered Apr 11 '18 at 6:51
LinuxBabeLinuxBabe
1012
1012
2
Hello, and welcome to Unix & Linux. Linking to a blog or similar for background and more information is fine, but if you are linking to your own site, you definitely need to be explicit about it. See How not to be a spammer.
– tripleee
Apr 11 '18 at 6:53
@tripleee Just edited my answer.
– LinuxBabe
Apr 11 '18 at 7:05
add a comment |
2
Hello, and welcome to Unix & Linux. Linking to a blog or similar for background and more information is fine, but if you are linking to your own site, you definitely need to be explicit about it. See How not to be a spammer.
– tripleee
Apr 11 '18 at 6:53
@tripleee Just edited my answer.
– LinuxBabe
Apr 11 '18 at 7:05
2
2
Hello, and welcome to Unix & Linux. Linking to a blog or similar for background and more information is fine, but if you are linking to your own site, you definitely need to be explicit about it. See How not to be a spammer.
– tripleee
Apr 11 '18 at 6:53
Hello, and welcome to Unix & Linux. Linking to a blog or similar for background and more information is fine, but if you are linking to your own site, you definitely need to be explicit about it. See How not to be a spammer.
– tripleee
Apr 11 '18 at 6:53
@tripleee Just edited my answer.
– LinuxBabe
Apr 11 '18 at 7:05
@tripleee Just edited my answer.
– LinuxBabe
Apr 11 '18 at 7:05
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f199339%2fgrub-boot-debian-iso-file-from-ntfs-partition-and-install-it%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
From this related thread in ubuntu forums, you may have to insert additional modules in the menuentry, such as
insmod ntfs
.– Vincent Nivoliers
Apr 29 '15 at 11:08
Not working. The install still can't detect iso image file.
– Mas Bagol
Apr 29 '15 at 14:26