View previous topic :: View next topic |
Author |
Message |
babagau n00b
Joined: 04 May 2021 Posts: 25 Location: Volos, Greece
|
Posted: Sat Jan 27, 2024 12:12 pm Post subject: new installation, no initramfs, kernel does not boot SOLVED |
|
|
I am trying my second gentoo installation ever. Without initramfs and
/boot as a directory in /. Partition scheme is dos/MBR. Tried
with lilo and now extlinux and both bootloaders stop at their menus,
not loading the kernel. Tried many kernel configurations and my
knowledge stops here. By the way how do I post my .config? There was an error so I omitted it
but I guess we need it.
Code: | lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
03:02.0 Network controller: Qualcomm Atheros AR9227 Wireless Network Adapter (rev 01)
04:00.0 VGA compatible controller: NVIDIA Corporation G73 [GeForce 7600 GS] (rev a1)
|
Code: | fdisk -l /dev/sdb
Disk /dev/sdb: 58.69 GiB, 63023063040 bytes, 123091920 sectors
Disk model: SanDisk SDSSDP06 Units: sectors of 1 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos Disk identifier: 0x202fe323 Device Boot Start End Sectors Size Id
Type /dev/sdb1 2048 117442559 117440512 56G 83 Linux
/dev/sdb2 117442560 123091919 5649360 2.7G 82 Linux swap / Solaris |
Code: | blkid
/dev/sdb2: UUID="9dc9db2e-e3a1-4cf4-bbc9-3623380d8ed1"
TYPE="swap" PARTUUID="202fe323-02"
/dev/sdb1: UUID="18888567-4ce9-4e12-848a-900fe322bf97" BLOCK_SIZE="4096"
TYPE="ext4" PARTUUID="202fe323-01" |
Code: |
/etc/fstab
PARTUUID=202fe323-01 / ext4 defaults,errors=remount-ro 0 1
#LABEL=swap none swap sw 0 0
PARTUUID=202fe323-02 none swap sw 0 0
|
Code: |
ls /boot
System.map-6.6.13-gentoo
System.map-6.6.13-gentoo.old
boot
config-6.6.13-gentoo
config-6.6.13-gentoo.old extlinux
vmlinuz-6.6.13-gentoo
vmlinuz-6.6.13-gentoo.old
|
Code: |
cat /boot/extlinux/extlinux.conf
TIMEOUT 30
ONTIMEOUT gentoo
UI vesamenu.c32
MENU TITLE Boot
LABEL gentoo
MENU LABEL gentoo Linux
LINUX boot/vmlinuz-6.6.13-gentoo
APPEND root=PARTUUID=202fe323-01 errors=remount-ro
|
_________________ love, peace and microchips
Last edited by babagau on Sun Jan 28, 2024 12:06 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Sat Jan 27, 2024 8:03 pm Post subject: |
|
|
babagau,
We need to know your The Vendor and device IDs at the end of the lines are important.
You post your .config with wgetpaste. That puts in on the wed for a limited time.
Something like Code: | $ wgetpaste -c 'emerge --info'
Your paste can be seen here: https://bpa.st/OHDA | That example is command output.
Tell us the URLs.
That example is for command output.
We also need to know the filesystems you are using.
-- edit --
Code: | 00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01) |
That's a bad thing. IDE mode with SATA was usually only partially implemented. All the speedup things like DMA were missing.
Its sole purpose was to allow Windows XP users to install the SATA driver before switching to SATA mode forever.
Linux has never needed IDE mode.
Leave it for now. Its something to fix once it works. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
babagau n00b
Joined: 04 May 2021 Posts: 25 Location: Volos, Greece
|
Posted: Sun Jan 28, 2024 12:05 pm Post subject: solved n booted |
|
|
it was a silly error on the extlinux.conf file.
entry LINUX needed a slash before boot as it is a path
I visually confused it with the following APPEND root line
LINUX /boot/...
APPEND root=....
my bad
Thank you for the wgetpaste, the -nnk options
and the IDE SATA controller thing. Will check it out _________________ love, peace and microchips |
|
Back to top |
|
|
babagau n00b
Joined: 04 May 2021 Posts: 25 Location: Volos, Greece
|
Posted: Sat Jul 27, 2024 10:21 am Post subject: |
|
|
NeddySeagoon wrote: | babagau,
Code: | 00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01) |
That's a bad thing. IDE mode with SATA was usually only partially implemented. All the speedup things like DMA were missing.
Its sole purpose was to allow Windows XP users to install the SATA driver before switching to SATA mode forever.
Linux has never needed IDE mode.
Leave it for now. Its something to fix once it works. |
This issue has been solved after a bios upgrade! _________________ love, peace and microchips |
|
Back to top |
|
|
babagau n00b
Joined: 04 May 2021 Posts: 25 Location: Volos, Greece
|
Posted: Sat Jul 27, 2024 11:35 am Post subject: |
|
|
no ide mode anymore
dmesg | grep -i 'ide '
Code: |
[ 0.190695] pci 0000:00:1f.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 0.190733] pci 0000:00:1f.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 0.190770] pci 0000:00:1f.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 0.190807] pci 0000:00:1f.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
|
_________________ love, peace and microchips |
|
Back to top |
|
|
|