I´m not sure but knoppix partition is xfs after installing knoppix to hard disk and it may be the problem here.
is it knoppix kernel source for download at any place? in order to be able recompiling the ´original´ source.
It is not at /usr/src/
Hi,
I use knoppix to install debian on my machines.
On my laptop i wanted to use gatos (gatos.sourceforge.net) to get Xv and DRI working on the internal ATI-mach 64 videocard. However, to be able to insmod the mach64.o module I need cmpxchg in the kernel and the stock knoppix kernel doesn't have it enabled. So I wend about to compile my own kernel. I did the following:
apt-get install kernel-source-2.4.20
cd /usr/src
tar -xjf kernel-sources.2.4.20.tar.bz2
cd kernel-source-2.4.20
make xconfig
changed CPU-architecture to Pentium-III (for cmpxchg)
make-kpkg clean
make-kpkg --initrd --revision=custom.1.0 kernel_image
dpkg -i dpkg -i kernel-image-2.4.20_custom.1.0_i386.deb
Then I changed /etc/lilo.conf to point to the new kernel.
I reran lilo and rebooted.
I chose my new kernel.
The new kernel can't mount the root partition (reiserfs).
I've tried about everythin I can think of but I can't seem to get a working kernel that is able to mount the root partition.
Please help.
I´m not sure but knoppix partition is xfs after installing knoppix to hard disk and it may be the problem here.
is it knoppix kernel source for download at any place? in order to be able recompiling the ´original´ source.
It is not at /usr/src/
When I did a HDD install, I chose for reiserfs, I saw a reiser filesystem being made for the root partition. The new kernel is compiled with reiserfs support.
yes, but when i did hdd install i chose for ext3 but partition is xfs actually. I have debian in other partition whose kernel is compiled with ext3 support and without xfs support. If i run e2fsck on knoppix i get error 'system file not supported get a e2fsck new version'Originally Posted by hopman
Partition Magic 8 recognizes ext3 parttions but it knows anything about knoppix partition.
yes, but when i did hdd install i chose for ext3 but partition is xfs actually. I have debian in other partition whose kernel is compiled with ext3 support and without xfs support. If i run e2fsck on knoppix i get error 'system file not supported get a e2fsck new version'Originally Posted by hopman
Partition Magic 8 recognizes ext3 parttions but it knows anything about knoppix partition.
I tried fsck.reiserfs but it can't be run on a read/write mount and I can't remount root (/) because it is busy
However, I did find this in dmesg (line numbers added by me):
01. RAMDISK: Compressed image found at block 0
02. Freeing initrd memory: 166k freed
03. VFS: Mounted root (ext2 filesystem).
04. FAT: bogus logical sector size 0
05. FAT: bogus logical sector size 0
06. reiserfs: checking transaction log (device 03:02) ...
07. Using r5 hash to sort names
08. ReiserFS version 3.6.25
09. VFS: Mounted root (reiserfs filesystem) readonly.
10. Trying to move old root to /initrd ... okay
It looks to like /dev/hda2 (my root partition) is mounted as a reiserfs (lines 06-09), but what happens before that (line 03) ? It looks like something is mounted as root with a ext2 filesystem and then remounted as /initrd. Is initrd.img mounted as root first ? And if so could that be interfering with the new kernel ??
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$74.99
Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch
$109.99
Seagate Exos X20 16TB 7.2K 256MB 3.5" SATA 6Gb/s Enterprise HDD - ST16000NM000D
$139.99
WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F
$25.00
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$27.49
8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002
$36.53
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$174.99
WD HDD Ultrastar DC HC520 HUH721212AL4205 12TB 3.5" SAS Server Hard Disk Drive
$45.30