Wednesday, August 18, 2010

Booting Solaris Operating System using Windows Boot Loader - redirect

The post has moved here:
http://tech.saoslab.com/post/2010/08/18/boot-solaris-windows-bcdedit-bootloader

Blog is migrating

Cannot boot Ubuntu 10.04 after installation of Ubuntu or after installation of Windows Seven


You have just installed Ubuntu 10.04 but you cannot boot to it. System boot straights to Windows Seven and you are feeling deceived. I also faced this issue.

May be there’s a problem with Ubuntu 10.04 distro that’s happening with some PCs having Windows Seven. Well here’s a fix. Follow the steps.


Ø Boot the system using Live CD.

Ø Press Alt+F2 and enter gnome-terminal command. And continue by entering:

$ sudo fdisk -l


It shows partition table. Here’s mine.

/dev/sda1 29 8369 66999082+ 83 Linux
/dev/sda2 * 8370 13995 45190845 7 HPFS/NTFS
/dev/sda3 13996 14593 4803435 5 Extended
/dev/sda5 13996 14593 4803403+ 82 Linux swap / Solaris

Now mount Linux boot partition. As you can see from the output of previous command it was sda1 for my system.

$ sudo mount /dev/sda1 /mnt
$ sudo mount --bind /dev /mnt/dev
$ sudo mount --bind /proc /mnt/proc

Now chroot into the enviroment:

$ sudo chroot /mnt


After chrooting, we need not add sudo before commands.
You may want to edit /etc/default/grub file to fit your system (timeout options etc)

# vi /etc/default/grub

After edition press ESC & then :wq to store and exit. Now install/recover Grub2 via command:

# grub-install --recheck /dev/sda

Now you can exit the chroot, umount the system and reboot your system:

# exit
$ sudo umount /mnt/dev
$ sudo umount /mnt/proc
$ sudo umount /mnt
$ sudo reboot

How to concatenate/merge Solaris 10 DVD image segments


Here's an example how to merge segments in Unix or Unix like systems:

[sa@ispros.com.bd ]$ cat sol-10-u8-ga-sparc-dvd-iso-a sol-10-u8-ga-sparc-dvd-iso-b > \
sol-10-GA-sp-dvd.iso


In Windows system, concatenate the files using the following command:

D:\> copy /b sol-10-u8-ga-x86-dvd-iso-a + sol-10-u8-ga-x86-dvd-iso-b \
sol-10-u8-ga-x86-dvd.iso

The result is a true ISO image that you can use to burn a DVD.
Use software like Nero or MagicISO to burn the DVD in Windows.

Why micrsoft.com doesn’t reply to ping


[sa@localhost ]$ ping www.microsoft.com

Pinging lb1.www.ms.akadns.net [65.55.21.250] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 65.55.21.250:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),




Do you know why Micrsoft.com doesn’t replies to ping?

ping is a powerful small command line tool. Seeing the output of ping command a security analyst or hacker can grab important information about the target hosts. Target hosts can be web servers or a pc on local area network. Information includes Operating System & Version, availability of host etc.