[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

migration from RedHat to Debian, general question about Debian (dpkg, kernel, config)



Hi,
I'm trying to migrate from RedHat to Debian and face
out with few problems. I'll be glad to resolve them
with your help.

Question about dpkg:
1) dpkg is great, but I cannot figure out one
simple/usefull procedure. Let's assume I install one
package and have file /usr/bin/my. Is is possible to
figure out using dpkg or similar tool to which package
/usr/bin/my belong to. On RedHat I just invoke rpm -qf
/usr/bin/my and get back package name. 
2) Is it possible to check status of installed
software, what has been changed from original package,
etc. On RedHat it is rpm -V <package>

Questions about kernel:
This is very weird, but I can't get cdrom working with
my custom kernel. Here what I did.
apt-get install kernel-source-2.4.22
apt-get install kernel-patch-2.4.22
unpack kernel, applied debian patches
(/usr/src/kernel-patch/all/2.4.22/apply/debian), then
applied other patches, in particular swsuspend. Then I
configure my kernel as necessary with config from
either RedHat or Debian, The only basic difference I
made is instead of compiling as modules CONFIG_IDE,
CONFIG_BLK_DEV_IDE, CONFIG_BLK_DEV_IDEDISK I put then
to be compiled into kernel. Well, install kernel and
got surprise that mounting cdrom I have "can't read
superblock".
Any ideas?

Question about configuration:
Where the natural place to put my own scripts while
booting to Debian. On RedHat it was /etc/rc.d/rc.local
What is equivalent on Debian?
Where correctly put aliases for modules, there so many
config file for modules on Debian?
About runlevels, what the meaning of 2,3,4,5 runlevels
on Debian. On RedHat 3 is equivalent to 2 on Debian?

Thank you,
Valentine.


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



Reply to: