Results 1 to 4 of 4

Thread: configs.tbz/knoppix.sh related error message on boot

Hybrid View

  1. #1
    Member registered user
    Join Date
    Mar 2005
    Posts
    38

    configs.tbz/knoppix.sh related error message on boot

    Hi all, just started using 3.8.1 as a pmi. I get the following msg when booting after using the myconfig=/mnt/hdb3 cheat code:

    All appears normal throughout the boot process until after the 'extracting config archive /mnt/hdb3/configs.tbz ... '

    The following msg then appears in gray:

    /mnt/hdb3/knoppix.sh: line 11: 1819 terminated pump -i$DEVICE >/dev/null 2> &1

    Then everything carries on as normal, and my config settings are loaded up. Any ideas as to what's causing this? TIA.

  2. #2
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    Hi,

    >>
    >/dev/null 2> &1
    >>

    change to ...

    >/dev/null 2>&1

    It's probably the space between the '2>' and the '&'.

    The shell will see that as a field seperator/termination, and get confused as to where you want the redirection to actually go.


    jm

    Code:
     -:-  If the system is the answer, then the question
                   must have been really stupid  -:-

  3. #3
    Member registered user
    Join Date
    Mar 2005
    Posts
    38
    Thx for the response. As far as I was aware I wasn't redirecting it at the time (I certainly wasn't typing anything in except the myconfig cheat code. Anyway, I now save myconfig to a different location and for the moment, it's not giving me any more messages. Don't know how long it will last though ..

  4. #4
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    Sydney/Australia
    Posts
    311
    >>
    -i$DEVICE >/dev/null 2> &1
    >>

    The shell will see $DEVICE as a variable to expand(macro),

    the shell will interpret >/dev/null to mean you want the output to go to the abyse. Often used when all the script wants is the return status of the command, the 2> &1 is where the error was. The shell would normally expect it to read 2>&1 interpreting it to mean that you also want the standard error to be redirected to the standard output, and they can both go to the abyse.

    Especially if the comand is being run in an non-interactive shell, which it probably is.

    The error is just the "space" character. Which will be seen as a field seperator.

    try in a term window ...

    ]$ ls /dev/null
    ]$ ls /dev/null 2>&1
    ]$ ls /dev/null 2>
    ]$ ls /dev/null 2> &1

    notice the messages.

    Not sure how it is being used in the script concerned, but it will cause it to fall over at that point.

    Just needs a minor edit


    jm

    Code:
     -|-  If the system is the answer, then the question
                   must have been really stupid         -|-

Similar Threads

  1. Error message on boot up
    By jkwash in forum Hardware & Booting
    Replies: 1
    Last Post: 05-21-2005, 12:18 PM
  2. Installing KNOPPIX.V3.6 Boot error message
    By sala94 in forum General Support
    Replies: 2
    Last Post: 12-21-2004, 04:20 PM
  3. Boot error message
    By Calvi Risorta in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 05-29-2004, 11:01 AM
  4. winxp, gentoo, knoppix, grub, and a boot error message
    By SgtRauksauff in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 05-06-2004, 12:38 AM
  5. Boot error message
    By epi in forum General Support
    Replies: 1
    Last Post: 01-21-2004, 02:18 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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series picture

ASUS PRIME Z890-P WIFI Z890 LGA 1851 ATX motherboard, Intel® Core™ Ultra Series

$235.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4 picture

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4

$79.99



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



Gigabyte GA-B85M-D3H Motherboard picture

Gigabyte GA-B85M-D3H Motherboard

$54.99