LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2021, 05:13 PM   #1
4dr14n
LQ Newbie
 
Registered: Oct 2021
Posts: 6

Rep: Reputation: Disabled
Question extlinux: Loading ../linux... ok


This is my second time asking help (the first being about the same issue in 4channel.org/g/fglt) in my two years of using Linux...
I installed extlinux as the bootloader, but the boot process does not go beyond:
Code:
Loading ../linux... ok
showing no errors or logs.

syslinux.cfg:
Code:
PROMPT 1
TIMEOUT 100
DEFAULT oasis

LABEL oasis
	LINUX ../linux
	APPEND root=UUID="50c2b3e3-33cf-4fd9-8dbc-0d5f36fa26ac" init=/bin/sinit ro nomodeset noinitramfs
I have already tried several APPEND options (nomodeset, noinitramfs), tried using the text menu UI, changed from /dev/sda3 to UUID, correctly dd if=.../mbr.bin of=/dev/sda (instead of sda3), recompiled the kernel with several different settings (ext4 and ext2 separately, instead of using ext4 driver for ext2; and some others, as pointed out from the gentoo handbook) etc...
I am about to try to boot again and use ROSH, https://wiki.syslinux.org/wiki/index...Hell(rosh.c32); I might also clean up and redo everything, but partition the disks as sda1 and sda2, instead of sda1 and sda3.

lsblk:
Code:
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0   2.6G  1 loop /usr/lib/live/mount/rootfs/filesystem.squashfs
sda      8:0    0 931.5G  0 disk 
├─sda1   8:1    0   256M  0 part /mnt/oasis/boot
└─sda3   8:3    0 931.3G  0 part /mnt/oasis
sdb      8:16   1   7.3G  0 disk 
└─sdb1   8:17   1   7.3G  0 part /usr/lib/live/mount/medium
Note: I am installing a non beginner friendly distro, https://github.com/oasislinux/oasis, and I am aware of that.

Any help is appreciated...

Last edited by 4dr14n; 11-01-2021 at 11:15 PM. Reason: syslinux to extlinux: wrong use of terms
 
Old 10-31-2021, 10:04 PM   #2
4dr14n
LQ Newbie
 
Registered: Oct 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Unhappy update

Quote:
I am about to try to boot again and use ROSH
Nothing came out of it. ROSH managed to ls . and ../. and find the kernel image

I also tried changing the compression mode to GZIP, but also nothing.

I tried changing the syslinux.cfg from:
Code:
LINUX ../linux
to:
Code:
LINUX /linux
and, interestingly enough, it still found the kernel image. I am not sure if this is related to the issue.
Adding to that, I watched a video and found that, in their boot output, it would print out instead:
Code:
Loading /vmLinuz.......... ready
Maybe it is a problem with decompressing the kernel.
 
Old 11-01-2021, 05:08 AM   #3
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,498

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
SysLinux is generally geared towards removable media, namely optical disk/optical disk emulation. I believe syslinux in regards to booting a hard drive partition needs to be used as a floppy disk image similar to the boot rescue floppy we used to create as soon as we got a new Windows 98 and prior.
 
Old 11-01-2021, 10:38 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora ,Xubuntu, others
Posts: 6,068

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
Quote:
Maybe it is a problem with decompressing the kernel.
Something like that the kernel isn't configured/compiled correctly, ie drivers, filesystem, other, either built as modules and not built into the kernel or missing.

Last edited by colorpurple21859; 11-01-2021 at 10:40 AM.
 
Old 11-01-2021, 11:39 AM   #5
4dr14n
LQ Newbie
 
Registered: Oct 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Brains View Post
SysLinux is generally geared towards removable media, namely optical disk/optical disk emulation. I believe syslinux in regards to booting a hard drive partition needs to be used as a floppy disk image similar to the boot rescue floppy we used to create as soon as we got a new Windows 98 and prior.
Ah, I didn't know. I was under the impression that syslinux (i. e., extlinux) could be used for hard drives. I will try LILO.

Quote:
Something like that the kernel isn't configured/compiled correctly, ie drivers, filesystem, other, either built as modules and not built into the kernel or missing
As far as I know, the compile went smoothly. I have no idea what option I'd be missing.
I only have AMDGPU, ucode and ethernet drivers built in (no modules). As for filesystems, I am only using ext2 and ext4 plus some referenced by the Gentoo AMD64 handbook as necessary for the booting process.

I'd like to add that I tried booting directly my kernel image through QEMU by:
Code:
qemu-system-x86_64 -kernel boot/linux -nographic -append "console=ttyS0"
which resulted in a blank terminal emulator. Not sure if I did something wrong.
If I do just:
Code:
qemu-system-x86_64 -kernel boot/linux
a GUI QEMU starts up, but gets stuck at Booting from ROM...
 
Old 11-01-2021, 01:28 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora ,Xubuntu, others
Posts: 6,068

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
did you build in the ext2/4 filesystem and drivers needed for the hard drive?
 
Old 11-01-2021, 06:25 PM   #7
4dr14n
LQ Newbie
 
Registered: Oct 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
did you build in the ext2/4 filesystem and drivers needed for the hard drive?
Yes, I have SCSI, BLK_DEV_SD, BLK_DEV_SR, EXT2_FS and EXT4_FS, if that's what you mean.
 
Old 11-01-2021, 10:31 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora ,Xubuntu, others
Posts: 6,068

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
I think you need to use extlinux.
 
Old 11-01-2021, 11:13 PM   #9
4dr14n
LQ Newbie
 
Registered: Oct 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
I think you need to use extlinux.
Well, it is what I am trying to use. Maybe I should edit my posts. Sorry about that.
 
Old 11-02-2021, 10:36 PM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora ,Xubuntu, others
Posts: 6,068

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
Does ctrl-alt-delete work after booting the kernel?
 
Old 11-03-2021, 07:44 AM   #11
verndog
Member
 
Registered: Oct 2007
Posts: 258

Rep: Reputation: 50
No "initrd.img".

According to this How To you need one:
Code:
label squeeze
      menu label Debian Squeeze on sda5, kernel 2.6.32-5-686
      kernel /vmlinuz-2.6.32-5-686
      append initrd=/initrd.img-2.6.32-5-686 root=UUID=98f012537-7a7c-2213-819e-a69ddf9abc2b ro quiet
Read Here
 
Old 11-03-2021, 02:19 PM   #12
4dr14n
LQ Newbie
 
Registered: Oct 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
I think I figured out the problem.
The distro requires one to patch the kernel with its own linux sources, but, either way, I dumbly made make tinyconfig, which probably rendered the patch useless...

Thank you each for trying to help me out.
 
Old 11-03-2021, 03:48 PM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora ,Xubuntu, others
Posts: 6,068

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
Thanks for the update.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Making Syslinux boot a different partition also with Syslinux. tokico Linux - Software 6 03-04-2009 09:37 AM
syslinux setting change to grub, or grub change to syslinux. hocheetiong Linux - Newbie 2 06-14-2008 07:38 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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