JJSkoli
September 1st, 2012, 03:14 PM
Hello, I am having problems installing a new OS from its iso file, and I am searching for help.
I run Ubuntu 12.04-64 bits on a Toshiba laptop, using GRUB2; I have decided to mount on a separate partition Poseidon Linux, a Ubuntu-based specialized distro running Linux kernel 2.62. I downloaded their iso (/home/JJ/Downloads/Poseidon_Linux4_64bit.so) to my Downloads directory, then followed https://help.ubuntu.com/community/Grub2/ISOBoot#Creating_the_GRUB_2_Menuentry
To be explicit, I added these lines
menuentry "Install Poseidon from ISO" {
set isofile="/home/JJ/Downloads/Poseidon_Linux4_64bit.iso"
loopback loop (hd0,6)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.gz
}
to the file /etc/grub.d/40-custom, updated grub, and failed. This is to check the file /home/JJ/Downloads/Poseidon_Linux4_64bit.iso does indeed reside in the 6th partition of my disk:
sudo lsblk -f
NAME FSTYPE LABEL MOUNTPOINT
sda
├─sda1 swap [SWAP]
├─sda2
├─sda3 ext3
├─sda4 ext3
├─sda5 ext4 /
└─sda6 ext4 /home
sr0
zram0 swap [SWAP]
The fail code is:
error: disk not found
and from this follow kernel not found, initrd not found. The problem is not so important per se (in the end, I used unetbootin to install via USB, successfully, and I could have installed it in my VBox just as well), but it bugs me that I may not be able to use such a convenient procedure in the future when equally convenient alternatives may not be at hand.
Can anyone point out to me my mistake? Thank you.
I run Ubuntu 12.04-64 bits on a Toshiba laptop, using GRUB2; I have decided to mount on a separate partition Poseidon Linux, a Ubuntu-based specialized distro running Linux kernel 2.62. I downloaded their iso (/home/JJ/Downloads/Poseidon_Linux4_64bit.so) to my Downloads directory, then followed https://help.ubuntu.com/community/Grub2/ISOBoot#Creating_the_GRUB_2_Menuentry
To be explicit, I added these lines
menuentry "Install Poseidon from ISO" {
set isofile="/home/JJ/Downloads/Poseidon_Linux4_64bit.iso"
loopback loop (hd0,6)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.gz
}
to the file /etc/grub.d/40-custom, updated grub, and failed. This is to check the file /home/JJ/Downloads/Poseidon_Linux4_64bit.iso does indeed reside in the 6th partition of my disk:
sudo lsblk -f
NAME FSTYPE LABEL MOUNTPOINT
sda
├─sda1 swap [SWAP]
├─sda2
├─sda3 ext3
├─sda4 ext3
├─sda5 ext4 /
└─sda6 ext4 /home
sr0
zram0 swap [SWAP]
The fail code is:
error: disk not found
and from this follow kernel not found, initrd not found. The problem is not so important per se (in the end, I used unetbootin to install via USB, successfully, and I could have installed it in my VBox just as well), but it bugs me that I may not be able to use such a convenient procedure in the future when equally convenient alternatives may not be at hand.
Can anyone point out to me my mistake? Thank you.