Slackware :: Dd Cannot Read Hdd Track 0?
Dec 11, 2010Can dd read cylinder 0, head 0 of the hard disk? It seems as if he can't. When I do
Code:
dd if=/dev/sda bs=1 | hexdump -C | more
I think it begins with track 1 and not track 0.
Can dd read cylinder 0, head 0 of the hard disk? It seems as if he can't. When I do
Code:
dd if=/dev/sda bs=1 | hexdump -C | more
I think it begins with track 1 and not track 0.
I've been trying to rip DVD's using AcidRip but whatever DVD I try I get the same error from AcidRip - Can't Read DVD track. Faulty Disc?
After reading the forums I've tried /dev/dvd ,/dev/sr0 (Found by using the Disk Utility), /Media/DVD Title etc and tried running AcidRip both as myself and Sudo without success.
I was just reading about the whole boot process on computers and am curious as to why the BIOS can only read and execute code and data from only cylinder 0, track 0 and sector 1 of the disk being booted from? Why can't the BIOS read from any other disk location?
View 3 Replies View RelatedI have no problem with resolving dependencies on my own, but when I uninstall a programm, how could I keep track of the dependencies, thus remove them?
Is there a possibility to store this information in the /var/log/packages files, or better yet, is it possible to include the dependencies in the the .tgz's, so a 'removepkg' would get rid of them as well?
I'm using -current and XFCE 4.6.2 hasn't been playing very nice. Its menu has an odd behavior. AFAIK, XFCE's menu is automatically generated based on the .desktop files from /usr/share/applications and somewhere else when it comes to wine programs. The menu has an "Other" tab, which includes Gvim and, ever since I installed it, Civilization IV BTS.The problem is that sometimes this "other" menu just disappears after staying logged in for some time, like overnight. I was thinking that this had something to do with suspending to ram, but I don't think that's the case as I've been suspending over and over and the "other" menu just stays there.I don't know if someone else has noticed similar behavior so I'm not waiting for an answer as to what may be causing the issue. I'd like to know where I can start looking for the cause.XFCE masters, where can I start looking?
View 1 Replies View RelatedI have 13.0 installed, everthing works OKI installed 13.1 on a separate partition, and dualbootWhen I use 13.1, there is a problem with sound.It's like in the old days when yu played an LP with a scratch, the track keeps repeating.When I move the mouse, sound will continue OK for a few seconds, then same problem.There is no difference, if I use KDE, XFCE, or just boot in runlevel 3 and use the command lineOnly thing I can find in the logs:Quote: May 28 06:37:10 cannabis kernel: hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.In 13.0, there is not such a line in the logs.Some info:Quote:
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
Subsystem: Fujitsu Technology Solutions Device 1107
Flags: bus master, fast devsel, latency 0, IRQ 22
[code]....
I am looking for a way to track updates or changes to open source software, in other words I want automatic notification when new releases are made.
Is there any single place or easy way to do that? Again, What I am looking for is notification when, for example, firefox ver 3.1.2 is released, or when kde releases 4.4.5, k3b makes a major change, etc, etc, etc.
Anyone have any idea how I could accomplish this?
I finally decided to take the plunge and try out slackware64 on my new laptop, and making the switch has been surprisingly painless. One issue I still haven't managed to sort out is getting hal to read /etc/hal/fdi.I have two files in /etc/hal/fdi/policy: one is a copy of 11-x11-synaptics.fdi, and the other is a series of rules to set up the trackpoint on my thinkpad. Both of these files were read and added to hal when I was running 32-bit 13.0, but they don't seem to be read in 64-bit. I've looked at lshal, and I don't notice anything glaringly wrong there, but I'm not sure what else to check.
View 2 Replies View RelatedI am newer to Slackware but not to Linux. I am having the hardest time trying to get my CDROM to mount for me so that I can play audio cd;s and the like. I can see that the system knows that my CDROM drive is there and that it works because I installed Slackware 13 from my CDROM drive as /dev/hdc. Now when I put in a cd nothing happens? I have googled away and searched this forum quite a bit before posting this but I have tried almost everything I can think of and what others have mentioned. I have screenshots to show you what I mean. When I try to run the command:
mount /dev/cdrom /mnt/cdrom
I get it as mounting as read only and it says can't read superblock? Now that is fro my slave IDE CDROM on top as hdd. I have tried before to mount it as /dev/hdc but to no avail. I know both CD drives work just fine because I used them to install the system. I am going to put the screenshots below so maybe someone can help me! Also I can eject the top CD drive with the command code...
Yesterday, I bought a 1TB WD Passport, for backup and storage. It uses NTFS, and I've had no problems manually mounting and moving files to and from it from root. However, I don't like having to be root to in any way modify the data on the drive. In order to avoid this I decided to create a line in fstab that would allow permissions to the user, so I added this to my fstab:
Code:
/dev/sdb1/mnt/external ntfs defaults,
noauto, noexec, user, uid=1000, gid=users, umask=0022, nls=utf8 0 0
This allows me to mount, unmount, and peruse the external HDD - however, if this is active, neither the user NOR root have permission to make any changes. The HDD acts as read only, even though there is no "ro" option on my fstab.
Let's say that I have a customized Bash prompt stored as a PS1 variable. My variable gets read every time I invoke a login shell, i.e., when logging in in one of the standard virtual terminal or by invoking xterm with the -ls parameter.
However, when I just invoke the terminal without specifying that it is a login shell, I just get something like: bash-XXX$ as a prompt.
where should I place my PS1 variable so that it could get read even on non-login shells?
I have a problem when i ried run this command (export HISTTIMEFORMAT="%F %T ") on slackware 13.0. the answer is the following (-bash: HISTTIMEFORMAT: readonly variable) I am running this command on the bash like root.
View 2 Replies View RelatedI want all USB-Devices (Hard-disks, USB-Sticks) that are plugged into a Slackware 13 be mounted as read-only.How do I achieve this?
View 4 Replies View RelatedWhen I try to go to a virtual terminal from X the writing is too dim to read. When I boot to run level 3 all is fine, then I "startx" and use the gui. If I "ctrl-alt-F3" the printing on the screen is so dim that I can't see it. Is there a setting for this somewhere that I haven't found. Before installing Slackware 13-64 I ran Zenwalk for over a year and never had this problem.
View 2 Replies View RelatedI compiled a kernel using a previous kernel config after I switched to the ext4 file system. Previously it was using ext3 and the kernel compiled and ran fine. I added support for ext4 to the config but when I went to boot I had a kernel panic. The error was "kernel can't mount vfs on (8,5)". Root is on sda5, I don't know what the 8 is. I started over, using mrproper and made a new config, but got the same error. I created an initrd with the ext4 file system but then the kernel said it couldn't mount root on ext3 because of unique options. (something along those lines) I booted back into the default kernel and saw that it had a similar error right after the bios check, but it loaded fine. I'm wondering why the kernel is saying that the ext4 file system is ext3.
View 11 Replies View RelatedI tried to compile a 2.6.33 kernel following Alien's guide.
I pretty much used the default values for every (NEW) option avaiable. I used "make localmodconfig" on my current config (zcat /proc/config.gz) and then tried to use "make menuconfig" to check if I could change anything. I didn't understand most of the options, so I skipped it. Then I used "make bzImage modules" and "make modules_install", copied the files mentioned on the wiki and run lilo.
But when I try to boot using my custom kernel, it gives an error like "Cannot remount read-only filesystem as read-write! This can cause serious problems."
If I try to continue the boot, it hangs when trying to launch the syslog script...
The new kernel entry on lilo.conf is:
Code:
image = /boot/vmlinuz-custom-2.6.33
root = /dev/sda4
label = newkernel
read-only
just like the default kernel entry.
By the way, one thing I changed is the kernel compression format, which I set LZMA. But it didn't seem to be the problem, since it at least started...
I upgraded to Xfce 4.8 following instructions: [url]
Everything is fine except for my ntfs usb drives are read-only.
udisks reports that the drive mounted is not read only:
Code:
mtab is showing that the drive is also rw
Code:
However when I try to create a new file or folder on the drive in Thunar, I get:
Code:
Or ...
Code:
Permissions on the mounted folder are as follows:
Code:
I can read and write data dvds, but cannot play a regular dvd now. I have libdvdcss installed. I am running Slackware 64 13.37 (just installed).
Code:
MPlayer 20101218-4.5.1 (C) 2000-2010 MPlayer Team
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
[Code]...
It can see the drive is there and /dev/sr0 is linked to /dev/dvd and I tried running as root to check if it was a permissions problem but got the same thing.
I have tried lots of different DVDs in the drive, same issue. I even switched out my DVD drive to another old DVD-ROM I had laying around, same thing.
When i create a slackware package, with the tool makepkg, the resulting package doesnt show the description of the package in the pkgtool program.
View 2 Replies View RelatedOn one of my machines the DVD/DVDRW/CDROM drive appears as /dev/hdc and is not identified as an optical drive by HAL. It is owned by root: disk and thus no users get permission to read/write in the device (not even those in the cdrom group). This stops playing DVDs, ripping CDs, no notifications appear when a disk is inserted, etc. etc. When I set the permissions for all to read/write from the device then users can access but still no notifications are shown.
On all my other machines the optical drive is identified as /dev/sr0 and is owned by root:cdrom . All have Slack 13.1 . Previously with Slack 12.2 this machine still had the drive in /dev/hdc but the permissions were right (I think because I added it to /etc/fstab with options for users to access it). I believe the problem is down to HAL not setting this drive to the correct group, but how do I fix it? I hate HAL, it has a mind of its own, just like in the scifi movie
Ubuntu main O/S windows 7 running in Virtualbox how or can i read a usb flash drive in the windows O/S i want to read my mp3 player
View 4 Replies View RelatedI want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global]
workgroup = DOMAIN
server string = File Server
[code]...
I just tried to install mythvideo 0.22 from the packman repository and Yast tell me it requires python-imdb. Havent been able to track down an rpm for opensuse 11.2 x86_64. Is there any way to request that this rpm be built?
View 2 Replies View RelatedHow would i do a hexdump in Ubuntu for the first track of a HDD? I am looking for a winhex-esque output if that makes sense. The first track has 63 sectors, each 512 bytes long. I tried
dd if=/dev/sda bs=1 count=512 | hexdump -C
but that only gave me what appears to be the MBR, or first sector of the HDD.
I am playing a DVD with multiple copies of it's content on the disc. I am wanting to use VLC to try and find out which of the tracks is the right one for when I rip. How to do this?
View 7 Replies View RelatedI have an inventory.txt file in CVS, which has about 5000 lines. First ten lines from inventory.txt are following:
Code:
Serial_Number Location
P303948932 Shelf:4F
F348237842 Shelf:2C
W312390232 Shelf:9L
Q239432042 Shelf:1E
[Code]...
How to track where the files go when I issue:
yum intsall php
I wann know where exactly the files go? What will change?
I have something crashing my system. It might be the random screensaver setting as it was an issue in 11.0 although I have not see it be an issue in 11.2. Previously I though my computer was shutting itself down and because of that I started this thread: opensuse 11.2 shutting down - openSUSE Forums
but now I know the issue is crashing it seems like I should start a separate thread as it's a completely different question. I guess I need to learn how to determine what caused a crash after I reboot a crashed system. So, other than blindly combing logs of which there are dozens, is there a smart methodical way to determine what is crashing a system after a restart? -- when you are not around to see what the cause is as it happens.
The track pad on a Macbook Pro 8.3 is hypersensitive and interprets the lightest touch as a click. Even brushing the track pad with the sleeve of my shirt counts as a click. How do I decrease the sensitivity of the track pad?
View 3 Replies View RelatedLast day i have faced an attack on Apache/2.2.14 (Ubuntu).A user shoots 53 hits within 20 seconds from same IP and as a result db connections to MySQL increased.
a.) Is there any way in Apache to block these type of requests
b.) how can we trace when this type of attack happened to Apache.
Also I have noticed an entry in Apache error log during attack period
Error Log
[Wed Jul 20 20:28:49 2011] [debug] proxy_util.c(1806): proxy: grabbed scoreboard slot 0 in child 753 for worker http://localhost:8294/
[Wed Jul 20 20:28:49 2011] [debug] proxy_util.c(1825): proxy: worker http://localhost:8294/ already initialized
[Code].....