Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Permission denied on knx-hdinstall

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    2

    Permission denied on knx-hdinstall

    When i try to execute the knx-hdinstall program it gives me a Permission denied error.

    No matter what i've tried.

    Do you guys have any suggestions ?

    [update] i also tried an earlier version of knoppix (3.1) and there i have the same problems, it must have something to do with the computer i'm using the knoppix cd worked fine on my previous system[/update]

  2. #2
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    Please post how you executed it. did you try 'sudo' or 'su' or as root? also you can use knoppix installer .

  3. #3
    Junior Member
    Join Date
    Sep 2003
    Posts
    2
    i executed it as the normal knoppix user,

    the password for the root supposed to be "locked" ? so i cannot execute it as root

    i will try the knoppixinstaller tommorow.. very sleepy now

  4. #4
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    Use 'sudo knx-hdinstall' or 'sudo knoppix installer'.No need of password.

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --When doing System Maintenance, you must be root.

    --Geez, the install script should have a check right at the beginning and abort with a helpful error msg if it's not being run as root.

    Quote Originally Posted by djoey
    i executed it as the normal knoppix user,

    the password for the root supposed to be "locked" ? so i cannot execute it as root

    i will try the knoppixinstaller tommorow.. very sleepy now

  6. #6
    Junior Member
    Join Date
    Aug 2003
    Location
    Langford, BC
    Posts
    4
    Quote Originally Posted by bongski55
    Use 'sudo knx-hdinstall' or 'sudo knoppix installer'.No need of password.
    hello, i am also having some trouble running either install script. changed to root with sudo su. as root, typed sudo knx-hdinstall, and got to screen with cfdisk, but did not include a (C)reate partition option (as different documents I had seen suggested) then dialog screens asking about swap file appeared, but the script terminated after 'no swap partition could be found...'

    with sudo knoppix-installer the screen mentioned "knx-templates-0.39.tgz' could not be found, and terminated the script.

    any ideas on what (basic) thing I am missing (apart from the brain, bit, I mean :c)) the knoppix version i have is 2003-06-06... and everything otherwise seems fine ... some glitches as far as keyboard mapping still (see ' marks ' above) and this with the knoppix lang=us cheat at boot... sigh.

    thanks very much for any help

    dave

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by dfa
    and got to screen with cfdisk, but did not include a (C)reate partition option (as different documents I had seen suggested)
    If there was no free space on the drive then you would have no option to create a partition. Is this the case on the drive you are trying to install on? If you do not have free space on the drive use QTParted ( sudo qtparted in a console window ) to resize a partition to free some up you will need enough space for 2 partitions one /swap minimum 128mb and one for / minimum 2.2gb.
    with sudo knoppix-installer the screen mentioned "knx-templates-0.39.tgz' could not be found, and terminated the script.

    dave
    You can get the template and installer here you will have to copy them both to the same directory in the ram drive say /ramdrive/home/knoppix and
    Code:
    chmod 755 knoppix-installer
    sudo ./knoppix-installer
    in a console window in the knoppix directory to make the script executable and run the script.

  8. #8
    Junior Member
    Join Date
    Aug 2003
    Location
    Langford, BC
    Posts
    4
    thanks for your reply.

    > If there was no free space on the drive then you would have
    > no option to create a partition. Is this the case on the drive

    it's a 30GB(28 actual, give or take) with windows ME in the first 6.2GB. I've read that defragging the hard drive was the minimum amount of mucking about I needed to successfully install Knoppix off of the CD in a dual boot scenario. I also got the impression that QTParted/FIPS/Partition Magic would resize the C:\ but I remain unclear about exactly *when* I need to do the actual resizing: before, or *during* the knoppix-installer/knx- hdinstall script run?

    > If you do not have free space on the drive

    This is also confusing me. The drive presently has no more than 6.2 or so GB in use for WinME, and resizing the 28 or so GB down to, say, 7GB seems reasonable. If I use QTParted from within Knoppix' ramdisk, via the CD, and tell QTP to create a second 7GB partition for Knoppix, and then try running knoppix-installer...?

    > use QTParted ( sudo qtparted in a console window )

    Of course, I saw this advice in a second posting (rickenbachus'?) immediately *after* posting my question.

    > to resize partition to free some up you will need enough space
    > for 2 partitions one /swap minimum 128mb and one for /
    > minimum 2.2gb.

    so, 7GB is probably enough space? for the time being? :c)

    with sudo knoppix-installer the screen mentioned "knx-templates-0.39.tgz' could not be found, and terminated the script.
    You can get the template and installer [url=http://debian.tu-bs.

    thank you very much for the pointer. I'm hoping to have a chance to play around a bit with this stuff this coming Thursday.

  9. #9
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by dfa
    thanks for your reply.

    > If there was no free space on the drive then you would have
    > no option to create a partition. Is this the case on the drive

    it's a 30GB(28 actual, give or take) with windows ME in the first 6.2GB. I've read that defragging the hard drive was the minimum amount of mucking about I needed to successfully install Knoppix off of the CD in a dual boot scenario. I also got the impression that QTParted/FIPS/Partition Magic would resize the C:\ but I remain unclear about exactly *when* I need to do the actual resizing: before, or *during* the knoppix-installer/knx- hdinstall script run?
    The knoppix-installer will run qtparted during the install to enable you to resize the partitions on the drive the knx-hdinstall does not have this feature so you have to run the qtparted first then install. So you really should run qtparted to resize the partition on the drive first and create the required partitions then reboot because qtparted will most likely tell you to reboot if it can not re-read the partition table it just created which happens with some drives then when you install you can just skip the steps in the script where you would have to resize the drive and run cfdisk (to partition the drive requiring yet another reboot for the changes to take effect) and proceed with the install.

    > If you do not have free space on the drive

    This is also confusing me. The drive presently has no more than 6.2 or so GB in use for WinME, and resizing the 28 or so GB down to, say, 7GB seems reasonable. If I use QTParted from within Knoppix' ramdisk, via the CD, and tell QTP to create a second 7GB partition for Knoppix, and then try running knoppix-installer...?
    Bad choice of words I should have said enough unpartitioned space free on the HD to create the required partitions for knoppix sorry for the confusion. Yes just use QTParted to resize the partiton and then you would create new partitions in that free space for a /swap and / (root) partitions these would be seperate partitions within the space you freed up not one big partition for knoppix.

    > to resize partition to free some up you will need enough space
    > for 2 partitions one /swap minimum 128mb and one for /
    > minimum 2.2gb.

    so, 7GB is probably enough space? for the time being? :c)
    7gb is more than enough space for the install in fact if you use that much you should make another partition in the free space for a /home partition for a total of three new partitions /, /swap and /home in the newly freed up space.

    You would now run qtparted resize the partition down ~7gb then in that free space create a /swap,/ and /home partitions. For the /swap partition make it at least 256mb and not more than 500mb if you have less than 256mb of RAM if more make it just 256mb. With the rest of the free space split it evenly between / and /home reboot for the changes to take effect then run the install script to install knoppix and of course re-boot again to start from the HD.

  10. #10
    Junior Member
    Join Date
    Aug 2003
    Location
    Langford, BC
    Posts
    4
    hi stephen,

    just a note to thank you for your last reply. got caught up in scheduling demands at work, and won't have time to try out your recommendations for a week now. sheesh.

    You would now run qtparted resize the partition down ~7gb then in that free space create a /swap,/ and /home partitions. For the /swap partition make it at least 256mb and not more than 500mb if you have less than 256mb of RAM if more make it just 256mb. With the rest of the free space split it evenly between / and /home reboot for the changes to take effect

    so, if i've got this straight: as root, sudo qtparted to resize the 30Gb down to 1 - 7Gb primary partition for the windows ME os, and a second primary partition for the knoppix / (minimum 2.2gb), an extended partition with a 256 Mb (logical) swap partition, and a, say, 3.0 GB logical partition for /home. does that arrangement seem reasonable?

    thanks again for your reply.

    dave[/b]

Page 1 of 2 12 LastLast

Similar Threads

  1. PERMISSION DENIED on java!!!
    By xaviers2002 in forum General Support
    Replies: 10
    Last Post: 07-19-2004, 10:23 PM
  2. /etc/fstab permission denied
    By Valhalla in forum General Support
    Replies: 1
    Last Post: 04-21-2004, 03:54 AM
  3. Permission denied to root
    By relinguin in forum General Support
    Replies: 0
    Last Post: 02-27-2004, 01:02 PM
  4. "permission denied" for knx-hdinstall?
    By three eyes open in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-28-2003, 01:06 AM
  5. permission denied
    By simple in forum General Support
    Replies: 1
    Last Post: 12-23-2002, 05:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


πŸ”€ Juniper Networks EX2300-C-12P 12Γ— Gigabit PoE+ β€’ 2Γ— 10G SFP+ Compact Switch ⚑ picture

πŸ”€ Juniper Networks EX2300-C-12P 12Γ— Gigabit PoE+ β€’ 2Γ— 10G SFP+ Compact Switch ⚑

$109.99



Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P picture

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P

$149.99



Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management picture

Juniper QFX5100-48S-3AFI 48-Port SFP+ 6 QSFP+ 2x SFP/RJ-45 Management

$249.97



Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch picture

Juniper Networks EX2300-48P 48-Port Gigabit PoE Managed Ethernet Switch

$79.99



Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC picture

Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC

$10499.99



Juniper MX204 +JUNOS and Dual Power Supply picture

Juniper MX204 +JUNOS and Dual Power Supply

$7299.99



Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p picture

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p

$89.99



Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact  Switch picture

Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch

$179.99



Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed) picture

Juniper Networks EX2300-48P 48-Port PoE Gigabit Switch (Renewed)

$361.91



Juniper Networks Mist Wireless Access Points, Model AP45 picture

Juniper Networks Mist Wireless Access Points, Model AP45

$59.99