- Forum
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- Installation & Upgrades
- [ubuntu] /casper/vmlinuz file not found
-
/casper/vmlinuz file not found
Hello all
I am trying to install «ubuntu-12.04.2-desktop-amd64» from a USB created with «Universal-USB-Installer-1.9.2.5». When I click anything in the boot menu (livecd, install, etc) it just says /casper/vmlinuz file not found. There is a «vmlinuz.efi» in the casper folder on the USB stick. I tried installing 12.10 which installs just fine, but I would like to have 12.04. From what I understand I need to change some files in the /boot/grub part of the USB but I have no idea how that works.
From my research a lot of people have this problem and have gotten it solved, but the answers they’ve gotten is very encrypted when my knowledge of stuff like that is next to none.(e.g.: They say they cant install, post a ton of code, someone post a ton of code back and they say «thx, works». ) Also, in my research I have found this problem to be only for .04 LTS versions. Some other guys have problem with other versions, but not the «/casper/vmlinuz file not found» problem.
It does install correctly with wubi, but from what I can understand wubi isn’t a «real» installation per se.
My regards, and thanks in advance
Lithdk
(Sorry for my english, not my first language.)
-
Re: /casper/vmlinuz file not found
Try using unetbootin to create the USB.
-
Re: /casper/vmlinuz file not found
Already tried unetbottin and LiLi. And atleast 5 times with each usb creator.
But now I went with Linux Mint 14 cinnamon and it actually fills my needs 100% and I figure — since I read its 99% ubuntu — I can still get help from the ubuntu community in my startup period in linux Already followed a few ubuntu guides in mint and so far it works perfectly.
-
Re: /casper/vmlinuz file not found
hello my dear friends
I also had this problem.
but this problem isnt from unetbottin and LiLi
Maybe this problem from your usb memory
this problem 100% for transfer rate is slow
I disconnect usb and connect Again
and boot computer….and solved it
-
Re: /casper/vmlinuz file not found
Originally Posted by omid2s
hello my dear friends
I also had this problem.
but this problem isnt from unetbottin and LiLi
Maybe this problem from your usb memory
this problem 100% for transfer rate is slow
I disconnect usb and connect Again
and boot computer….and solved itYeah I also tried that, but Im fairly certain it’s a problem with the 12.04.2-desktop-amd64 install.
-
Re: /casper/vmlinuz file not found
I think I might know thos one … I don’t know what the actual ubuntu problem is BUT I do know that when I set my BIOS to «Legacy OS» I have the same problem. However, when I set the BIOS to UEFI everything works fine.
Incidentally this problem isn’t just with the installation or use of the Live USB, once installed if you set the BIOS back or mess up with Boot Repair {kinda why I know this} you will have the same issue.
On the plus side if your computer is relatively knew and has UEFI as an option it works great
-
Re: /casper/vmlinuz file not found
hello my friends
I downloaded ubuntu 12.04 lts DVD 32bit and
64amd(ubuntu 12.04 64bit DVD) hasnt problem to load.
and create Live usb with pendrive.
frist this error shown.
but I restart computer and unplug usb memory
and quichly plug usb memory and run ubuntu 12.04.Last edited by lisati; April 5th, 2013 at 04:00 AM.
Reason: Please use the default font
-
Re: /casper/vmlinuz file not found
I have the same issue using «Universal-USB-Installer-1.9.2.5» trying to install 13.04.
Never had this. I guess that iso is broken.
Check this out!
Last edited by eminemix; March 3rd, 2013 at 01:18 PM.
-
Re: /casper/vmlinuz file not found
Originally Posted by eminemix
I have the same issue using «Universal-USB-Installer-1.9.2.5» trying to install 13.04.
Never had this. I guess that iso is broken.
Check this out!
Hi there,
I’m a Linux newbee too, but in seems that the file /caspar/vmlinuz has the file extension .efi in the 64bit 12.04 edubuntu version.
I removed the extension and the installation seems to work now. I got an error during the installation but I think that might be because of my harddrive.
The MD5 checksum is ok for the image, so I guess the issue is with the ISO.
-
Re: /casper/vmlinuz file not found
Originally Posted by Lithdk
Hello all
I am trying to install «ubuntu-12.04.2-desktop-amd64» from a USB created with «Universal-USB-Installer-1.9.2.5». When I click anything in the boot menu (livecd, install, etc) it just says /casper/vmlinuz file not found. There is a «vmlinuz.efi» in the casper folder on the USB stick. I tried installing 12.10 which installs just fine, but I would like to have 12.04. From what I understand I need to change some files in the /boot/grub part of the USB but I have no idea how that works.
From my research a lot of people have this problem and have gotten it solved, but the answers they’ve gotten is very encrypted when my knowledge of stuff like that is next to none.(e.g.: They say they cant install, post a ton of code, someone post a ton of code back and they say «thx, works». ) Also, in my research I have found this problem to be only for .04 LTS versions. Some other guys have problem with other versions, but not the «/casper/vmlinuz file not found» problem.
It does install correctly with wubi, but from what I can understand wubi isn’t a «real» installation per se.
My regards, and thanks in advance
Lithdk
(Sorry for my english, not my first language.)I also had this problem exept I put the file I downloaded into an ISO converter and it said it was like version 13.0.0. It was indeed weird
Bookmarks
Bookmarks
Posting Permissions
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Closed
dave-k opened this issue
Dec 10, 2018
· 4 comments
Comments
Short Description of Problem:
Loading linux kernel fails on Macbook Pro, error: file ‘/casper/vmlinuz.efi not found’
This is similar to this issue but using ubuntu-18.04.1 instead of Linux Mint 17.1
MacBook Pro (Retina, 15-inch, Mid 2015)
macOS High Sierra version 10.13.6
Mac Linux USB Loader v.3.4.6 (9693)
ubuntu-18.04.1-desktop-amd64.iso.
Expected Behavior:
Expected ubuntu to boot from USB
Actual Behavior:
Error messages
Load linux kernel... error: file '/casper/vmlinuz.efi not found'
Loading initial RAM disk... error: you need to load the kernel first
Steps to Reproduce:
Follow the USB loader instructions to create Ubuntu USB stick
Is there any help or suggestions how to get past the error?
file '/casper/vmlinuz.efi not found'
Here are 2 more screen shots which show that, even though
The following distributions have been detected on this USB
selecting Ubuntu generates an error:
Load linux kernel... error: file '/casper/vmlinuz.efi not found'
1) Boot Linux from ISO file
1) Ubuntu
See previous post
Error messages
Load linux kernel... error: file '/casper/vmlinuz.efi not found'
Loading initial RAM disk... error: you need to load the kernel first
Hi @dave-k, could you try removing the ‘.efi’ from the end of the kernel name?
Hi @SevenBits, «removing the ‘.efi’ from the end of the kernel name» was successful.
Ubuntu is now up and running from the USB stick. Thanks
2 participants
I am trying to newly boot mint cinnamon from a USB. I get to a screen that says «Welcome to Linux Mint 20 Cinnamon 64-bit». If I try to start linux (including in compatibility mode), a message appears for a tiny fraction of a second that says «missing casper/vmlinuz».
When I check the contents of the usb on another system, the casper folder has the following: filesystem.manifest, filesystem.manifest-remove, filesystem.size, filesystem.squashfs
I have seen others with this problem, but they have had very different contents in the casper folder from what I have, including one with «vmlinuz» in the name that they were able to rename to just vmlinuz, and this appears to have worked for them. As far as I can tell, I have no such option here.
When I press tab from the Welcome menu, I see the following line:
Code: Select all
> casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper initrd=/casper/initrd.lz quiet splash --
I also don’t have casper/initrd.lz, so something must have gone pretty wrong here. What should I do from here?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Я и так понял, что там написано.
Ты не понял ничего. Ни того, что там, ни после.
оригинальное название образа «ubuntu-mate-18.04.5-desktop-i386», сокращено до «Ubuntu-Mate-18045-i386».
Лишний шанс ошибиться самому и запутать других.
заглядывал, для того, чтобы вытащить два файла vmlinuz и initrd.lz, положить их в папку Ubuntu18
Лишнее. loopback для того и монтирует, чтобы не вытаскивать из исо-образа, а найти в нем.
Получается, что на флешке надо создать папку casper и закинуть их туда
Лишнее. Выше написал почему. Хотя возможно и так, но тогда не нужен loopback.
как быть, когда будет несколько образов Linux (например: другие версии Ubuntu, Mint, Zorin) и каждый содержит папку casper?
Для того и loopback. Но возможно и «вытащить» *бунту из образа и поместить каждую в свой каталог.
initrd не содержит расширения .lz. Дописывал его вручную.
Опять, абсолютно не нужное действие, только вносящее дополнительную путаницу.
Чтобы не изобретать велосипед, можешь посмотреть здесь, как я делаю загрузочную флешку. Или здесь взять код поновее.
Что можно сделать с твоим кодом…
menuentry «Ubuntu-Mate-18045-i386» — заменить на «submenu», это даст возможность, в случае ошибки вернуться в меню груба.
set root=(hd0,1) — сработает только если флешка действительно окажется первым диском, заменить на «search».
linux (loop)/Ubuntu18/vmlinuz — это внутри образа, соответственно, путь должен быть «/casper…»
iso-scan/filename=/ISO/Ubuntu-Mate-18045-i386.iso — значение тоже, что в «isopath», можно заменить на него.
initrd (loop)/Ubuntu18/initrd.lz — аналогично ядру «/casper…», никаких «/Ubuntu18…» и если в образе у инитрд нет «.lz» то и здесь его лепить незачем.
С учетом этих исправлений:
submenu "Ubuntu-Mate-18045-i386" {
Не проверял, надеюсь что не наделал ошибок.
set isopath="/ISO/Ubuntu-Mate-18045-i386.iso"
set gfxpayload=keep
search -n -s -f "${isopath}"
loopback loop $isopath
linux (loop)/casper/vmlinuz iso-scan/filename=${isopath} boot=casper locale=ru_RU.UTF-8 splash --
initrd (loop)/casper/initrd.lz
}
Исо-образ *бунту сделан по технологии «loopback-bootable». В нем есть еще одна задумка, позволяющая ничего не знать об ядре-инитрд.
Технология подразумевает, что в образе есть файл /boot/grub/loopback.cfg. Это конфиг груба именно для загрузки из исо-образа.
Достаточно после команды «loopback» добавить :
configfile /boot/grub/loopback.cfg
В моем коде сначала проверяется этот вариант. Если «loopback.cfg» не будет найден, то будет искать ядро-инитрд.
примерно такие же параметры написаны
Главное слово — примерно. Они годятся только для какого-то одного случая. Примеры я тебе уже привел.