Re: how to remove debian
On Fri, May 13, 2005 at 09:41:55PM -0500, Kent West wrote: > Charles Li wrote: > > >On one of my pc, I have debian and winXP dual boot, > >with XP on the hda1. > >I would like to remove debian, can I just delete the > >partition? > > > > Yes, but that will leave you with a blank partition. You might as well > leave Debian on it for future/emergency use. > > Unless of course you know how to make that blank partition usable to > your Windows install. For example, you could reformat it as FAT32 or > NTFS and use it as drive D:. I would just add not to forget to change the partition type from linux to FAT32, with fdisk. Cyprien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Strange: Linux boots off a deleted partition [Was Re: Please help: Accidentally wiped off the whole hard disk!!!]
On Sun, May 15, 2005 at 03:17:31AM -0400, Deboo ^ wrote: > I did a trial on a smaller hard disk. Installed knoppix on it, > rebooted from the hdd to test it. Rebooted again from the Live CD and > (after taking down the Linux partition info) deleted the partitions > and created just one partition, and changed the type to bf (Solaris) > -- the same thing which happened with the other hard disk. > > Now I tried booting off the hard disk just to check and it booted > without problems. Strange because when I check with fdisk, this is > what I see: > > [EMAIL PROTECTED]:~$ sudo fdisk -l /dev/hdc > > Disk /dev/hdc: 3227 MB, 3227148288 bytes > 255 heads, 63 sectors/track, 392 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > >Device Boot Start End Blocks Id System >/dev/hdc1 1 392 3148708+ bf Unknown > > > There was one Linx partition and a Swap partition which I deleted. > > Can someone explain this behavior? If this hard disk boots alright > then why doesn't the other hard drive boot when the same thing > (accidentally) happened to it? Not so strange ;-) If you're using lilo as boot manager, it saves on bootsector where the linux kernel physically is. So, even after erasing partition table, lilo finds the kernel again. Your previous linux partition was the first one. You deleted the partition table, not the partitions themselves. So linux kernel tried to mount /dev/hda1 as a filesystem, and as your old and your new partitions start at the same point, it worked. You only lost your swap partition. Everything's clear now ;-) Regards, Cyprien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Network scan
On Sun, May 15, 2005 at 08:47:16PM -0400, Nathanael Hasbrouck wrote: > On Sunday 15 May 2005 1753, somebody named Alexandar Angelov inscribed this > message: > > Mark Roach wrote: > > >On Sun, 2005-05-15 at 00:39 +0300, Alexandar Angelov wrote: > > >>Do you know any command(script) to scan range from 192.168.35.1 to > > >> 92.168.35.255 and return if port :80 , :21 and MAC Addr. > > > > > >nmap > > > > > >-Mark > > > > MAC? > > I think you might need to do a packet capture (ethereal, tcpdump) to get > MAC addys, but I'm not exactly a networking guru. :^) You may user arpwatch, it is a packet sniffer wich monitor use of ip<->MAC. You will find associations in /var/lib/arpwatch/ directory. Cyprien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mount a partition on a dir in the home of a user
On Sun, May 15, 2005 at 02:01:01PM -0700, aldo maggi wrote: > i use debian sid > recently i resized /dev/hda1 (winxp preinstalled in the notebook) in > order to have more space available for my documents (my debian is on > /dev/hda4) > the new partition, /dev/hda5, should be mounted on > /home/myuser/documents, a dir which has permissions 770 and owner > myuser.myuser > i wrote a new record in /etc/fstab: > /dev/hda5 /home/myuser/documents ext3 defaults,user 0 0 > the problem is that any time i reboot, permission and ownership on > /home/myuser/documents are changed: root.root and 755, if i umount (as > root) the partition the previous settings are restored > (/home/myuser/documents 770 myuser.myuser) > i read carefully man mount but could not find a solution, i changed > several times the record relevant to /dev/hda5, now i have: > /dev/hda5 /home/myuser/documents ext3 > defaults,user,exec,dev,suid,grpid > but cannot get ownership myuser.myuser, permissions 770. > what should be the solution to this problem? (well, one could be lvm > but i'd like to avoid messing around with a kernel which is > already heavily patched) > thanks > aldo beeing root, you have to mount the partition in /home/myuser/documents and then chown myuser:myuser /home/myuser/documents, the root of your filesystem. The a chmod 770 again. It should now be like that every time you will mount it. Cyprien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: please help a poor student
> He described its features in a manner which made me to > lay awake whole night. I have a very low-end computer > with 5GB hard disk and 122MB RAM. It can boot from > CDROM. I am running WinXP Pro successfully on it. I > can not upgrade my PC due to money problems. mmm XP with 122MB of RAM ... no money for linux ? Cyp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: please help a poor student
On Mon, May 30, 2005 at 08:50:33PM +0200, Debian User wrote: > On Mon, May 30, 2005 at 06:55:22PM +0200, Cyprien wrote: > >>lay awake whole night. I have a very low-end computer > >>with 5GB hard disk and 122MB RAM. It can boot from > >>CDROM. I am running WinXP Pro successfully on it. I > >>can not upgrade my PC due to money problems. > > > >mmm XP with 122MB of RAM ... no money for linux ? > > > I'm sure that he did'nt paid anything for XP (+ Office, ...). > > On the other hand, I'm curious about how you can get 122MB of RAM: > 64 + 32 + 16 + 8 + 2? More than that. Could XP run with 128MB of RAM ? > >Cyp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to move debian from one drive to another and keep it working?
On Tue, May 31, 2005 at 04:28:35PM +1200, Chris Bannister wrote: > On Sun, May 29, 2005 at 08:10:05PM +0200, Elvis Cehajic wrote: > > Unix compatibility > > Huh? Please quote relevant part you are replying to so the message makes > sense. It means that tar was originally design to handle unix files, and it's a good way to duplicate file systems. I used it so many times... Tar preserves uid/gid/perms/dates/devices/links, everything you need to have a working copy. But.. Maybe cp can do it too. And tar may be used to copy via ssh tar clf - | ssh othermachine:/mnt tar xf - for example (-l is like -x for cp) Cyprien -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: can't connect with putty
On Sun, Jul 31, 2005 at 06:54:49AM +, Daniel McBrearty wrote: > > this is confusing message out of context but from what I remember: > > > > a) can you connect with ssh hostname > > b) with ssh IPaddress > > c) with putty & hostname > > d) with putty & IPaddress > > > > if yes to b and d, but not to a and c, then it's a DNS thing. > > > > if yes to a and b, but no to c or d, then it's a putty thing. > > > > yes, sorry for the confusion. putty and ssh have the same behaviour, ergo > it's a > DNS thing. But ping by hostname is fine and the browser works fine by > hostname, > ergo DNS is basically OK. > > So either it's a quite subtle DNS problem, or a DNS/ssh interaction, by my > logic. If you're using putty, you seem to be using windows also. Windows may use their SMB protocol to find out an IP from a hostname. It might be the reason why the browser works fine. Maybe not... Cyp -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]