WHODIDDAT
03-18-2007, 12:13 AM
Hello!
As the title implies a few questions at once.
Ive looked extensively for the answers to no avail.
I'm a novice user of linux in general - but learning everyday - so forgive my obvious mistakes.
Usually out of nessesity I'm using Knoppix as a rescue device. At this time since my main PC is being repaired, I thought to try to get some net and file access with an old Chaintech 733Mz box with the HD's removed since Knoppix runs on the fly. Although I do have a 100Mb Zip drive and 2 USB's with the ports to access both. So far so good... I'm here arn't I - Now here's the problem(s)
in another thread it suggests to first "mkdir" to mount the USB device. (If not detected or auto configured to the desktop)
- Should mention It wasn't written to /etc/fstab - therefore I had to append it in "root"
- Also these were plugged into an XP SP2 AMD box before and has only been recognized (in the past) by knoppix through SMB from the old box mounted on the new one - never on the same machine. Why?
#dmesg
d_request: I/O error, dev ubb, sector 2
Buffer I/O error on device ubb, logical block 1
end_request: I/O error, dev ubb, sector 4
Buffer I/O error on device ubb, logical block 2
end_request: I/O error, dev ubb, sector 6
Buffer I/O error on device ubb, logical block 3
end_request: I/O error, dev ubb, sector 0
Buffer I/O error on device ubb, logical block 0
ldm_validate_partition_table(): Disk read failed.
end_request: I/O error, dev ubb, sector 2
Buffer I/O error on device ubb, logical block 1
end_request: I/O error, dev ubb, sector 4
Buffer I/O error on device ubb, logical block 2
end_request: I/O error, dev ubb, sector 6
Buffer I/O error on device ubb, logical block 3
end_request: I/O error, dev ubb, sector 0
Buffer I/O error on device ubb, logical block 0
unable to read partition table
ubb: made changed
ubb: device 3 capacity nsec 50 bsize 512
ubb: device 3 capacity nsec 50 bsize 512
ubb:end_request: I/O error, dev ubb, sector 2
Buffer I/O error on device ubb, logical block 1
end_request: I/O error, dev ubb, sector 4
Buffer I/O error on device ubb, logical block 2
end_request: I/O error, dev ubb, sector 6
Buffer I/O error on device ubb, logical block 3
end_request: I/O error, dev ubb, sector 0
Buffer I/O error on device ubb, logical block 0
end_request: I/O error, dev ubb, sector 2
Buffer I/O error on device ubb, logical block 1
end_request: I/O error, dev ubb, sector 4
Buffer I/O error on device ubb, logical block 2
end_request: I/O error, dev ubb, sector 6
Buffer I/O error on device ubb, logical block 3
end_request: I/O error, dev ubb, sector 0
Buffer I/O error on device ubb, logical block 0
ldm_validate_partition_table(): Disk read failed.
........... etc repeat read attempts
uba: was not changed
spurious 8259A interrupt: IRQ7.
# END
# mount
/dev/root on / type ext2 (rw)
/dev/scd0 on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=245964k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
/dev/sda1 on /mnt/sda1 type ext3 (ro,nosuid,nodev)
/dev/sda2 on /mnt/sda2 type ext2 (rw,nosuid,nodev)
/dev/sda3 on /mnt/sda3 type ext2 (rw,nosuid,nodev)
/mnt/sda3 on /home/knoppix type none (rw,bind)
automount(pid1688) on /mnt/auto type autofs (rw,fd=4,pgrp=1688,minproto=2,maxproto=4)
/dev/cdrom on /mnt/auto/cdrom type iso9660 (ro,nosuid,nodev)
/dev/uba1 on /mnt/sda2/media/usbdrive type vfat (rw)
--- END
Now the only way I can access /dev/uba1 is in superusermode otherwise I get a denied access to the files on the drive
How do I change the permissions to access the drive?
Can I set the drive with group permissions? ie: usb [group] and assign the knoppix user to the group without granting root privilages to knoppix user.
And...
Is there instruction somewhere to create (or activate) a user logon screen from created user accounts with passwords.
- I have used sudo passwd [username] found in the cheetcodes and security docs on the disk to change the root and knoppix passwords + created a new account with more rights that I would like to use.
Can I update to the latest kernel to:fix alot of these issues by saving the knoppix.sh and config to say: "/dev/sda1" without transferring the whole OS to a disk or upgrading to a new iso (at least untill I get my new Box back)
The Other Big Problem aside from all the errors at boot time - can't beleive it's been running now for over 24hrs -with an old 3.7 knoppix version at that using the 2.6 experimental Kernel - kudos to the developers!
The other USB device /dev/ubb was supposedly blank. Formatted in fat16 but will not open.
I tried viewing the structure in QTParted and the message was "partition Table empty"
often Both usb devices envoke "critical error durring ped_disk_new!"
and the /dev/ubb reports a capacity of "0.0244141" Mb (because of the table info I guess) should be @250Mb
I've attempted to create a new one - w/ no luck
What can be done with this device to correct the errors? Within the scope of this situation...
Also tried to configure using mkext3 in the same program - it won't. Is there another way to do this?
Recap:
1. How do you change permissions to access a USB drive with only superuser privilages - and what will happen once changes are made when I resume use on an XP box?
2. How do you fix a partition table and later format a USB device to be recognized with read and write privilages to assigned users ?
3. How do you innitializa a login screen at boot time? Or how do you switch user accounts once it loads into a GUI? (has the runlevels something to do with this or can you use them to switch?)
4. Can I use a newer kernel like "patch-2.6.20.3.bz2" from www.kernel.org or is there a knoppix specific one available elsewhere? For that matter even possible
5. Why have I only been able to see the contents of the USB devices through a network connection NFS or SMB and not as a plug-n-play device on the box where Knoppix is running? With the exception of point 1 above which has sort of worked.
Finally: Is there other info I need to submit to make a determination of the above?
PS. if there is a tool available and I get the other USB to read and write properly I probably have enough space to get the package and mirror the 250Mb drive if needed Hpefully new users of Linux like myself will find the info here usefull and perhaps something similar could be posted in the Wiki if it isn't there already - I've never found it.
Any suggestions?
As the title implies a few questions at once.
Ive looked extensively for the answers to no avail.
I'm a novice user of linux in general - but learning everyday - so forgive my obvious mistakes.
Usually out of nessesity I'm using Knoppix as a rescue device. At this time since my main PC is being repaired, I thought to try to get some net and file access with an old Chaintech 733Mz box with the HD's removed since Knoppix runs on the fly. Although I do have a 100Mb Zip drive and 2 USB's with the ports to access both. So far so good... I'm here arn't I - Now here's the problem(s)
in another thread it suggests to first "mkdir" to mount the USB device. (If not detected or auto configured to the desktop)
- Should mention It wasn't written to /etc/fstab - therefore I had to append it in "root"
- Also these were plugged into an XP SP2 AMD box before and has only been recognized (in the past) by knoppix through SMB from the old box mounted on the new one - never on the same machine. Why?
#dmesg
d_request: I/O error, dev ubb, sector 2
Buffer I/O error on device ubb, logical block 1
end_request: I/O error, dev ubb, sector 4
Buffer I/O error on device ubb, logical block 2
end_request: I/O error, dev ubb, sector 6
Buffer I/O error on device ubb, logical block 3
end_request: I/O error, dev ubb, sector 0
Buffer I/O error on device ubb, logical block 0
ldm_validate_partition_table(): Disk read failed.
end_request: I/O error, dev ubb, sector 2
Buffer I/O error on device ubb, logical block 1
end_request: I/O error, dev ubb, sector 4
Buffer I/O error on device ubb, logical block 2
end_request: I/O error, dev ubb, sector 6
Buffer I/O error on device ubb, logical block 3
end_request: I/O error, dev ubb, sector 0
Buffer I/O error on device ubb, logical block 0
unable to read partition table
ubb: made changed
ubb: device 3 capacity nsec 50 bsize 512
ubb: device 3 capacity nsec 50 bsize 512
ubb:end_request: I/O error, dev ubb, sector 2
Buffer I/O error on device ubb, logical block 1
end_request: I/O error, dev ubb, sector 4
Buffer I/O error on device ubb, logical block 2
end_request: I/O error, dev ubb, sector 6
Buffer I/O error on device ubb, logical block 3
end_request: I/O error, dev ubb, sector 0
Buffer I/O error on device ubb, logical block 0
end_request: I/O error, dev ubb, sector 2
Buffer I/O error on device ubb, logical block 1
end_request: I/O error, dev ubb, sector 4
Buffer I/O error on device ubb, logical block 2
end_request: I/O error, dev ubb, sector 6
Buffer I/O error on device ubb, logical block 3
end_request: I/O error, dev ubb, sector 0
Buffer I/O error on device ubb, logical block 0
ldm_validate_partition_table(): Disk read failed.
........... etc repeat read attempts
uba: was not changed
spurious 8259A interrupt: IRQ7.
# END
# mount
/dev/root on / type ext2 (rw)
/dev/scd0 on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=245964k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
/dev/sda1 on /mnt/sda1 type ext3 (ro,nosuid,nodev)
/dev/sda2 on /mnt/sda2 type ext2 (rw,nosuid,nodev)
/dev/sda3 on /mnt/sda3 type ext2 (rw,nosuid,nodev)
/mnt/sda3 on /home/knoppix type none (rw,bind)
automount(pid1688) on /mnt/auto type autofs (rw,fd=4,pgrp=1688,minproto=2,maxproto=4)
/dev/cdrom on /mnt/auto/cdrom type iso9660 (ro,nosuid,nodev)
/dev/uba1 on /mnt/sda2/media/usbdrive type vfat (rw)
--- END
Now the only way I can access /dev/uba1 is in superusermode otherwise I get a denied access to the files on the drive
How do I change the permissions to access the drive?
Can I set the drive with group permissions? ie: usb [group] and assign the knoppix user to the group without granting root privilages to knoppix user.
And...
Is there instruction somewhere to create (or activate) a user logon screen from created user accounts with passwords.
- I have used sudo passwd [username] found in the cheetcodes and security docs on the disk to change the root and knoppix passwords + created a new account with more rights that I would like to use.
Can I update to the latest kernel to:fix alot of these issues by saving the knoppix.sh and config to say: "/dev/sda1" without transferring the whole OS to a disk or upgrading to a new iso (at least untill I get my new Box back)
The Other Big Problem aside from all the errors at boot time - can't beleive it's been running now for over 24hrs -with an old 3.7 knoppix version at that using the 2.6 experimental Kernel - kudos to the developers!
The other USB device /dev/ubb was supposedly blank. Formatted in fat16 but will not open.
I tried viewing the structure in QTParted and the message was "partition Table empty"
often Both usb devices envoke "critical error durring ped_disk_new!"
and the /dev/ubb reports a capacity of "0.0244141" Mb (because of the table info I guess) should be @250Mb
I've attempted to create a new one - w/ no luck
What can be done with this device to correct the errors? Within the scope of this situation...
Also tried to configure using mkext3 in the same program - it won't. Is there another way to do this?
Recap:
1. How do you change permissions to access a USB drive with only superuser privilages - and what will happen once changes are made when I resume use on an XP box?
2. How do you fix a partition table and later format a USB device to be recognized with read and write privilages to assigned users ?
3. How do you innitializa a login screen at boot time? Or how do you switch user accounts once it loads into a GUI? (has the runlevels something to do with this or can you use them to switch?)
4. Can I use a newer kernel like "patch-2.6.20.3.bz2" from www.kernel.org or is there a knoppix specific one available elsewhere? For that matter even possible
5. Why have I only been able to see the contents of the USB devices through a network connection NFS or SMB and not as a plug-n-play device on the box where Knoppix is running? With the exception of point 1 above which has sort of worked.
Finally: Is there other info I need to submit to make a determination of the above?
PS. if there is a tool available and I get the other USB to read and write properly I probably have enough space to get the package and mirror the 250Mb drive if needed Hpefully new users of Linux like myself will find the info here usefull and perhaps something similar could be posted in the Wiki if it isn't there already - I've never found it.
Any suggestions?