LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-12-2023, 07:32 PM   #1
JJAR
LQ Newbie
 
Registered: Jan 2023
Posts: 11

Rep: Reputation: 0
Question I can't install Ubuntu on a laptop that's currently using Fedora


Hello everybody,

I have an HP Elitebook that's currently running Fedora 37 and I want to make the switch to Ubuntu. So, I downloaded the ISO and mounted it on my USB, but when I boot the laptop and select the install Ubuntu option I keep getting this error:"end Kernel panic - not syncing: no working init found. Try passing init = option to kernel."


Does anyone have any idea why it's caused and how can I solve it?

Thanks!
 
Old 01-12-2023, 07:36 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

how did you copy the iso to the usb? Some tools mess up the hybrid style iso that is used by Ubuntu (and Debian). A simple cp is probably the easiest way that will preserve the iso. Make sure the usb stick is *not* mounted then copy. Eg if your usb stick is /dev/sdX:
Code:
cp ubuntu-xyz.iso /dev/sdX
sync
Evo2.
 
Old 01-12-2023, 07:53 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
Apparently the USB boots ok - might be a dodgy download. Ubuntu have a link on the download page for a sha256 checksum to verify that iso.
 
Old 01-12-2023, 09:34 PM   #4
JJAR
LQ Newbie
 
Registered: Jan 2023
Posts: 11

Original Poster
Rep: Reputation: 0
Tried two methods

Quote:
Originally Posted by evo2 View Post
Hi,

how did you copy the iso to the usb? Some tools mess up the hybrid style iso that is used by Ubuntu (and Debian). A simple cp is probably the easiest way that will preserve the iso. Make sure the usb stick is *not* mounted then copy. Eg if your usb stick is /dev/sdX:
Code:
cp ubuntu-xyz.iso /dev/sdX
sync
Evo2.
Hi, I used the Fedora disk mount tool and also Rufus, same result with both, I'm about to try with the method you suggested, thanks!
 
Old 01-12-2023, 09:35 PM   #5
JJAR
LQ Newbie
 
Registered: Jan 2023
Posts: 11

Original Poster
Rep: Reputation: 0
No dodgy download

Quote:
Originally Posted by syg00 View Post
Apparently the USB boots ok - might be a dodgy download. Ubuntu have a link on the download page for a sha256 checksum to verify that iso.
Hi, I checked the quality of the ISO and apparently everything's okay with it!
 
Old 01-12-2023, 10:06 PM   #6
JJAR
LQ Newbie
 
Registered: Jan 2023
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by evo2 View Post
Hi,

how did you copy the iso to the usb? Some tools mess up the hybrid style iso that is used by Ubuntu (and Debian). A simple cp is probably the easiest way that will preserve the iso. Make sure the usb stick is *not* mounted then copy. Eg if your usb stick is /dev/sdX:
Code:
cp ubuntu-xyz.iso /dev/sdX
sync
Evo2.
Just tried this and still getting the same error :/
 
Old 01-13-2023, 04:04 AM   #7
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

I've seen this sort of behaviour before..

See post 42 of https://www.linuxquestions.org/quest...610/page3.html .

Hope that this helps..

B.
 
Old 01-13-2023, 05:52 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,981

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
Quote:
Originally Posted by JJAR View Post
Just tried this and still getting the same error :/
Additionally (to post #7) exactly what did you try?
 
Old 01-13-2023, 08:39 AM   #9
JJAR
LQ Newbie
 
Registered: Jan 2023
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
Additionally (to post #7) exactly what did you try?
I've tried formatting the USB with the Windows tool, the Fedora tool, Rufus and ElenaBatcher, I've used both NTFS and FAT32 for the install and I'm still getting the same error.
 
Old 01-13-2023, 08:44 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,981

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
Quote:
Originally Posted by JJAR View Post
I've tried formatting the USB with the Windows tool, the Fedora tool, Rufus and ElenaBatcher, I've used both NTFS and FAT32 for the install and I'm still getting the same error.
This is not the exact description, but anyway it looks like you formatted the usb stick and put the iso as a file onto that filesystem. Or something similar.
For the iso file you need not format that pendrive at all.
probably this helps: https://trendoceans.com/how-to-creat...distributions/
 
Old 01-13-2023, 02:35 PM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Without the usb plugged in at power-on If you go into the bios boot menu by pressing f9 is there a ubuntu boot option and does it boot?
 
Old 04-21-2023, 11:19 AM   #12
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by JJAR View Post
Hello everybody,
"end Kernel panic - not syncing: no working init found. Try passing init = option to kernel."
This sounds like for some reason it can not start the root filesystem from the initrd.

Have you tried a different USB port? USB2/3 compatibility can be funky when booting from a device. Try matching the port type to the device type if you can.

What's more important than the line you posted is what comes before it. If you don't feel like typing it all in, take a camera and take a snapshot. Something there should tell us why that rootfs can not be mounted.

I've booted a distribution from USB using many methods:
- writing using dd
- writing using cat
- and for older systems that have trouble for some reason manually partitioning and formatting the stick and copying the files over

Given that there's no hardware issue or problem with the downloaded image, any one of those methods will successfully boot.

Last edited by goumba; 04-21-2023 at 11:20 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i am using ubuntu currently i am downloading ultimate edition2.7 hawaraj Linux - Newbie 5 08-11-2010 10:20 AM
i am currently using fedora 8, is there any benefit to me installing fedora 9/10? MFA Linux - Newbie 14 03-30-2009 10:46 PM
Currently using Mepis 6.0 and wonder if I will lose all my files if I install 7.0? bliss4one MEPIS 4 09-18-2008 10:30 AM
Can I insall Linux as OS on a laptop which currently has Vista? Jakaluma Linux - Newbie 8 07-29-2008 03:23 AM
can i use FC6 DVD to upgrade softwares in FC3 I am currently using? vineet7kumar Linux - Newbie 1 06-30-2007 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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