Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: cp: will not create hard link

  1. #11
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Rather than ramble on I'll just point you here. They've said it all I think.

    http://www.troubleshooters.com/linux/ext2toext3.htm

    In fact you can go from ext2 to ext3 and back again (if you're brave)

  2. #12
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297

    initrd & ext3

    Quote 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

  3. #13
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    11
    thx mate!
    i'll really miss these nice antialiased fonts :P

  4. #14
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297
    Quote Originally Posted by rickenbacherus
    Rather than ramble on I'll just point you here. They've said it all I think.

    http://www.troubleshooters.com/linux/ext2toext3.htm

    In fact you can go from ext2 to ext3 and back again (if you're brave)
    bah, they do know nothing ... (well, ok they know something but these are mistakes )

    * ext3 only works that way if compiled into the kernel
    * mount will show the entry from /etc/fstab not the real mount (and use /etc/mtab)
    [ So it can show ext3 even if it is still ext2 ]

    Do "cat /proc/mounts" if you need infos if its ext2 or ext3.

    cu

    Fabian

  5. #15
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297
    Quote Originally Posted by emanuelez
    thx mate!
    i'll really miss these nice antialiased fonts :P
    huh ? Now I'm puzzled, what do you mean ?

    cu

    Fabian

    PS: Sorry, for doing so much posts, but I was just answering to each of you!

  6. #16
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Quote Originally Posted by Fabianx
    * mount will show the entry from /etc/fstab not the real mount (and use /etc/mtab)
    [ So it can show ext3 even if it is still ext2 ]

    Do "cat /proc/mounts" if you need infos if its ext2 or ext3.

    cu

    Fabian
    So you're telling me that even though my fstab says ext3 and cat /proc/mounts says ext3 and even though I have lost power to my machine when I rebooted it says nothing about running fsck it is still ext2? Do I understand you correctly?

  7. #17
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    11
    fabianx... many thanks for your help and support.
    i tried to hdinstall knoppix 3.2 anso using wxt2 but i have the same cp error.
    i guess i have to go back to knoppix 3.1

    about antialiased fonts... i really like the way mozilla looks with them (dunno if it's because of xfree 4.3 or anything else) so i'll try to update my system once i get my old knoppinx 3.1 to work properly on hdd again

  8. #18
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297
    Quote Originally Posted by rickenbacherus
    Quote Originally Posted by Fabianx
    * mount will show the entry from /etc/fstab not the real mount (and use /etc/mtab)
    [ So it can show ext3 even if it is still ext2 ]

    Do "cat /proc/mounts" if you need infos if its ext2 or ext3.

    cu

    Fabian
    So you're telling me that even though my fstab says ext3 and cat /proc/mounts says ext3 and even though I have lost power to my machine when I rebooted it says nothing about running fsck it is still ext2? Do I understand you correctly?
    No, if cat /proc/moutns says ext3 all is fine (and it IS ext3), but you cannot be so sure if only "mount" says ext3.

    If it works, we don't have to dicsuss it

    cu

    Fabian

  9. #19
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297
    Quote Originally Posted by emanuelez
    fabianx... many thanks for your help and support.
    i tried to hdinstall knoppix 3.2 anso using wxt2 but i have the same cp error.
    i guess i have to go back to knoppix 3.1

    about antialiased fonts... i really like the way mozilla looks with them (dunno if it's because of xfree 4.3 or anything else) so i'll try to update my system once i get my old knoppinx 3.1 to work properly on hdd again
    It sems from another Thread, that 2003-03-28 will solve your problem. (Though I haven't tested it yet.)

    cu

    Fabian

  10. #20
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    11
    i downloaded the latestt version of knoppix 3.2. the hard link problem is gone but some new problem arrived.
    so i got back to 3.1 and i'm tweaking it to fit my needs and likes.
    i want to convert my ext2 to ext3 but i didn't understand what u told me about it.
    do i have to recompile the kernel?
    thx again!

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. How can I create files on hard disk
    By nji78 in forum General Support
    Replies: 2
    Last Post: 02-22-2005, 07:53 PM
  2. Web link
    By sklynn in forum The Lounge
    Replies: 1
    Last Post: 05-07-2004, 02:34 AM
  3. link to files in /
    By japskar in forum Customising & Remastering
    Replies: 0
    Last Post: 10-23-2003, 12:17 PM
  4. D-Link DWL-120
    By jscinoz in forum Networking
    Replies: 0
    Last Post: 09-14-2003, 08:26 AM
  5. Knoppix on a hard drive - how to create new user
    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
  •  


HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS picture

HP ProLiant MicroServer Gen8 G1610T @2.3 GHz, 16GB, 712317-001 NO HDD/OS

$199.00



Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC picture

Nasuni NF-50 Supermicro Server, Atom CPU C2558, @ 2.40GHz, 8GB RAM-No HDD/OS/AC

$250.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On picture

Supermicro 1U Network Server Appliance 16GB RAM 800GB SSD 6 LAN Ports Powers On

$450.00



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server picture

Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server

$689.00



1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU   X picture

1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU X

$175.00



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99