-
Senior Member
registered user
initrd & ext3

Originally Posted by
emanuelez
power outage
ok.. so...
#tune2fs -j /dev/hda1
and fstab editing is all i need to do, right?
No! You need to use an initrd ...
I wrote the journaling filesystem part of knx-hdinstall, so I know that it is not easy to use it on your boot partition afterwards ... (I think somewthing with xfs got wrong, I myself never tested it, seems to need pivot_root, am discussing this with author of knx-hdinstall just now (waiting for reply to my mail))
However:
apt-get install ash <debian-kernel>
should work and after making an initrd and having setup lilo.conf correctly all will work
)
I'll in short explain, what goes wrong and why your system was ext2 even if you did install a journal...
The kernel has according to SuSE-people a bug. It prefers ext2 over ext3, when ext3 is a module and not builtin into kernel. This is no problem for mounting other partitions but one for root-partition ...
Kernel tries to do it ext2, succeeds and uses it that way ...
So journal is never recreated and fails desperately ...
One solution is to use an initial ramdisk, which loads jbd, ext3-module, pre-mounts the hd and the pivot_roots (change permant root) into it.
For reiserfs one only needs to load the module at startup, kernel will do the rest (no race condition, as kernel cannot mount it as an ext2, but also kernel panic without initrd!)
Christian most probably thought xfs, was the same, but it seems not to work, so we'll try to do it with pivot_root and then see if it works ...
Then you get a new version ...
If anyone wants to test an initrd with pivot_root and xfs he has to change following lines in knx-hdinstall (just copy it from /usr/local to . and then after cahning start with ./knx-hdinstall, that works):
change:
xfs)
INITMODS="$INITMODS xfs"
;;
to:
xfs)
INITMODS="$INITMODS xfs"
PIVOTFS="xfs"
;;
Then ./knx-hdinstall and see if that works ... (so no kernel panic at boot)
If it doesn't it would be nice to have the mount error-message...
cu
Fabian
Similar Threads
-
By nji78 in forum General Support
Replies: 2
Last Post: 02-22-2005, 07:53 PM
-
By sklynn in forum The Lounge
Replies: 1
Last Post: 05-07-2004, 02:34 AM
-
By japskar in forum Customising & Remastering
Replies: 0
Last Post: 10-23-2003, 12:17 PM
-
By jscinoz in forum Networking
Replies: 0
Last Post: 09-14-2003, 08:26 AM
-
By Earl Gibbs in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 01-18-2003, 07:31 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Intel SPTSLP2SLCDE 100G-DR1 QSFP28 500m 1311nm Transceivers - Lot of 10 - New
$200.00

2‑Pack SFP+ 10G BiDi BX‑U/BX‑D 1270/1330nm 10km | Cisco Compatible | ALVIRON
$48.99

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver
$5.40

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+
$16.99

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US
$17.00

Cisco QSFP-40G-SR-BD Module 10-2945-02 NEW CLAMSHELL
$45.50

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99