Results 1 to 3 of 3

Thread: Cannot chroot: bash errors

  1. #1
    Junior Member registered user
    Join Date
    Feb 2004
    Posts
    10

    Cannot chroot: bash errors

    Hallo!

    I'm trying to chroot to my already modified kernel tree with no luck. Here are the steps I'm following:
    -----
    root@quinipt:/home/quini# mount -rw /dev/hda7 /mnt/hda7 -t ext3
    root@quinipt:/home/quini# chroot /mnt/hda7/knx/source/KNOPPIX
    bash: command substitution: line 1: unexpected EOF while looking for matching `''
    bash: command substitution: line 2: syntax error: unexpected end of file
    root@is not an exit
    -----

    I'm trying to chroot from my previously installed knoppix 3.2 (sid updated), and I'm modifying a knoppix 3.4.

    Help is appreciated, thanks

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    hmmm

    I usually mount and then cd to the root of the remaster's filesystem. Then just do a

    chroot . /bin/bash

  3. #3
    Junior Member registered user
    Join Date
    Feb 2004
    Posts
    10

    No luck :?

    Thanks for your answer. Anyway no luck 8-|

    -----
    root@quinipt:/home/quini# mount -rw /dev/hda7 /mnt/hda7/
    root@quinipt:/home/quini# cd /mnt/hda7/knx/source/KNOPPIX/
    root@quinipt:/mnt/hda7/knx/source/KNOPPIX# ls
    bin cdrom etc home lib none root sys usr vmlinuz
    boot dev floppy initrd mnt proc sbin tmp var
    root@quinipt:/mnt/hda7/knx/source/KNOPPIX# chroot . /bin/bash
    bash: command substitution: line 1: unexpected EOF while looking for matching `''
    bash: command substitution: line 2: syntax error: unexpected end of file
    root@no es un (means "is not a...")
    -----

    Any other idea I could try? Maybe it's because I'm trying to chroot from my linux (installed in hd) instead of booting from knoppix CD ? 8-?

    Thanks.

Similar Threads

  1. Logging off from bash
    By Salzi in forum General Support
    Replies: 1
    Last Post: 09-09-2004, 02:56 AM
  2. Many Errors at .xsession-errors file ...
    By mikekgr in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-30-2004, 08:01 AM
  3. Using Bash
    By Guitarplaya512 in forum General Support
    Replies: 5
    Last Post: 03-14-2004, 11:03 AM
  4. chroot: /bin/bash: no such file or directory
    By kevinonknoppix in forum Customising & Remastering
    Replies: 0
    Last Post: 02-24-2004, 08:45 AM
  5. Bash Bad Interpreter
    By michaelmontagne in forum General Support
    Replies: 1
    Last Post: 09-04-2003, 09:17 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
  •  


OWC ThunderBay 4 mini 4-Bay 2.5

OWC ThunderBay 4 mini 4-Bay 2.5" Thunderbolt 3 RAID Enclosure [Diskless]

$185.00



G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only picture

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only

$200.00



EMC KTN-SL3 15-Bay Disk Array Enclosure w/2x 303-108-000E Cards, Dual PSU,No HDD picture

EMC KTN-SL3 15-Bay Disk Array Enclosure w/2x 303-108-000E Cards, Dual PSU,No HDD

$239.99



OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2  for Dual 3.5 inch HDDs picture

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs

$87.99



Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV picture

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV

$18.95



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



OWC Express 4M2 USB4 40Gb/s 4-Slot NVMe M.2 SSD RAID Enclosure w/ Cable picture

OWC Express 4M2 USB4 40Gb/s 4-Slot NVMe M.2 SSD RAID Enclosure w/ Cable

$125.00



MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00 picture

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00

$1619.30



Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i picture

Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i

$228.00



Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board picture

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board

$300.00