About Me

My photo
Working as Technical Lead in CollabNET software private limited.
Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Wednesday, 20 August 2008

To delete windows partition from ubuntu.

1) Command to see the partition
sudo fdisk -l
2) Mount the windows partition
sudo mount /dev/sda1 /mnt/
3) Look for the files and verify the data
ls -rlt
4)Then look for the available file system
sudo mkfs.
5)Create the new file system
sudo mkfs.ext3 /dev/sda1
6)Finally mounting the created partition
sudo mount /dev/sda1 /mnt/

To change the file system.
sudo vim /etc/fstab

To remove windows during bootup
cd /boot/grub/
sudo vim menu.lst
sudo grub-install /dev/sda


For referrence:
prakash@prakash-laptop:/boot/grub$ cat /etc/fstab
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
# /dev/sda3
UUID=38683652-4d42-4885-a18a-aa1fede0ca9d / ext3 defaults,errors=remount-ro 0 1
# /dev/sda1
UUID=C2C8BE9CC8BE8DE3 /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/sda5
#UUID=F0F6AC07F6ABCC62 /media/sda5 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/sda4
UUID=cc9c91ad-8b78-417f-9e49-beee5eeb1486 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
# /dev/sda5
/dev/sda5 /home ext3 defaults,errors=remount-ro 0 1
# /dev/sda1
/dev/sda1 /data ext3 defaults,errors=remount-ro 0 1

Wednesday, 19 March 2008

To Alter MAC address in windows, linux

I heard that we can't use some internet broad band connectivity expect the specific system as it's bounded to that specific MAC address.

Hmmm, the above raised a question? how to use that in other laptop etc...

Got a suggestion, Why can't you change your machine or laptop's MAC address matching the original bounded MAC address.

To Change MAC address in windows!

Go to,

Settings > Network Connections > local area connection > General Tab > configure > Advanced > Locally Administered Address > value.

Give the value , MAC address of bounded machine.

To Change MAC address in linux!

ifconfig eth0 down

ifconfig eth0 hw ether 00:00:00:AB:AC:AA

ifconfig eth0 up

This will use the mac address temporally to browse!.

Tuesday, 4 March 2008

Hibernate it's not "Hibernate in Action"

I was little bit eager to find why my windows OS doesn't consume power and it's not same in case of ubuntu OS during my laptop is idle.

Then the reason came out is because of "Hibernate", Yes there is an Hibernate function in windows xp which makes the batteries live longer. Then I've used the Hibernate function in ubuntu too and it made it as expected!!!!.