PDA

View Full Version : [SOLVED] After Ubuntu 10.04 install, PC not booting up



kamalpalei
February 13th, 2011, 10:50 AM
Hi All
My PC hardware configuration -
1. Intel I5 processor (64 bit)
2. Intel DH55P J motherboard
3. 2TB hard-disk

I wanted to install only Ubuntu 10.04 (no windows) , I installed 10.04 Ubuntu and installation went fine.
While booting up, it says boot device not detected. Then I tried to boot from CD, and checked /boot/grub folder, only 1 file is there grubenv. I hope I should have bunch of files in /boot/grub path.

So it looks grub2 was not installed properly. Then I followed instructions from https://help.ubuntu.com/community/Grub2#Reinstalling%20GRUB%202 , still not able to resolve the issue.

Can somebody help me to resolve this issue.

Thanks
Kamal

Rubi1200
February 13th, 2011, 11:52 AM
Hi and welcome to the forums :-)

Please do the following:

Boot the Ubuntu Live CD/USB. Choose the option "Try Ubuntu without any changes." Once the desktop loads come back here and do the following:

1. Download the boot info script. There is a link in my signature.
2. Once downloaded, move the boot info script to the desktop.
3. Open a terminal and run the command


sudo bash ~/Desktop/boot_info_script*.sh

This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here in a new post. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

oldfred
February 13th, 2011, 07:00 PM
Post boot script.

But some Intel motherboards require a boot flag on a primary partition (they expect windows). Grub does not use boot flag. You may just need boot flag on any primary partition to get BIOS to boot.

kamalpalei
February 17th, 2011, 05:48 AM
Hi Rubi1200
Here is the RESULT.txt content pasted below. Please let me know what do I do next? Regds, Kamal




Boot Info Script 0.55 dated February 15th, 2010

============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 2048 of the
same hard drive for core.img, but core.img can not be found at this
location.

sda1: __________________________________________________ _______________________

File system: Bios Boot Partition
Boot sector type: Unknown
Boot sector info:

sda2: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda3: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 1 3,907,029,167 3,907,029,167 ee GPT


GUID Partition Table detected.

Partition Start End Size System
/dev/sda1 2,048 4,095 2,048 Bios Boot Partition
/dev/sda2 4,096 3,895,773,183 3,895,769,088 Linux or Data
/dev/sda3 3,895,773,184 3,907,028,991 11,255,808 Linux Swap

blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda2 18c97f12-63f6-44ba-9776-c80e7fc47acb ext4
/dev/sda3 08a9174d-888c-4152-a7a1-f84520bd2175 swap
/dev/sda: PTTYPE="gpt"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)


=========================== sda2/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=18c97f12-63f6-44ba-9776-c80e7fc47acb ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=18c97f12-63f6-44ba-9776-c80e7fc47acb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

=============================== sda2/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=18c97f12-63f6-44ba-9776-c80e7fc47acb / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=08a9174d-888c-4152-a7a1-f84520bd2175 none swap sw 0 0

=================== sda2: Location of files loaded by Grub: ===================


972.9GB: boot/grub/core.img
1920.0GB: boot/grub/grub.cfg
972.9GB: boot/initrd.img-2.6.32-24-generic
.2GB: boot/vmlinuz-2.6.32-24-generic
972.9GB: initrd.img
.2GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda1

00000000 52 e8 28 01 74 08 56 be 33 81 e8 4c 01 5e bf f4 |R.(.t.V.3..L.^..|
00000010 81 66 8b 2d 83 7d 08 00 0f 84 e9 00 80 7c ff 00 |.f.-.}.......|..|
00000020 74 46 66 8b 1d 66 8b 4d 04 66 31 c0 b0 7f 39 45 |tFf..f.M.f1...9E|
00000030 08 7f 03 8b 45 08 29 45 08 66 01 05 66 83 55 04 |....E.)E.f..f.U.|
00000040 00 c7 04 10 00 89 44 02 66 89 5c 08 66 89 4c 0c |......D.f.\.f.L.|
00000050 c7 44 06 00 70 50 c7 44 04 00 00 b4 42 cd 13 0f |.D..pP.D....B...|
00000060 82 bb 00 bb 00 70 eb 68 66 8b 45 04 66 09 c0 0f |.....p.hf.E.f...|
00000070 85 a3 00 66 8b 05 66 31 d2 66 f7 34 88 54 0a 66 |...f..f1.f.4.T.f|
00000080 31 d2 66 f7 74 04 88 54 0b 89 44 0c 3b 44 08 0f |1.f.t..T..D.;D..|
00000090 8d 83 00 8b 04 2a 44 0a 39 45 08 7f 03 8b 45 08 |.....*D.9E....E.|
000000a0 29 45 08 66 01 05 66 83 55 04 00 8a 54 0d c0 e2 |)E.f..f.U...T...|
000000b0 06 8a 4c 0a fe c1 08 d1 8a 6c 0c 5a 52 8a 74 0b |..L......l.ZR.t.|
000000c0 50 bb 00 70 8e c3 31 db b4 02 cd 13 72 50 8c c3 |P..p..1.....rP..|
000000d0 8e 45 0a 58 c1 e0 05 01 45 0a 60 1e c1 e0 03 89 |.E.X....E.`.....|
000000e0 c1 31 ff 31 f6 8e db fc f3 a5 1f e8 3e 00 74 06 |.1.1........>.t.|
000000f0 be 3b 81 e8 63 00 61 83 7d 08 00 0f 85 1d ff 83 |.;..c.a.}.......|
00000100 ef 0c e9 0f ff e8 24 00 74 06 be 3d 81 e8 49 00 |......$.t..=..I.|
00000110 5a ea 00 82 00 00 be 40 81 e8 3d 00 eb 06 be 45 |Z......@..=....E|
00000120 81 e8 35 00 be 4a 81 e8 2f 00 eb fe bb 17 04 80 |..5..J../.......|
00000130 27 03 c3 6c 6f 61 64 69 6e 67 00 2e 00 0d 0a 00 |'..loading......|
00000140 47 65 6f 6d 00 52 65 61 64 00 20 45 72 72 6f 72 |Geom.Read. Error|
00000150 00 bb 01 00 b4 0e cd 10 46 8a 04 3c 00 75 f2 c3 |........F..<.u..|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 01 08 00 00 00 00 00 00 2f 00 20 08 |............/. .|
00000200

kamalpalei
February 17th, 2011, 05:50 AM
Hi Oldfred
Can you kindly explain more.

How can I set the boot flag in Intel mother board. Absolutely I do not have any idea how to set boot flag.

Regards,
kamal

Rubi1200
February 17th, 2011, 06:58 AM
Hi kamalpalei,
thanks for posting the results.

I don't know why you think it is necessary to have a separate /boot partition especially since Linux is the only operating system on the machine.

In any event, something went wrong with the GRUB install.

As far as the boot flag is concerned, do this from the LiveCD:

System > Administration > GParted
right-click on the Ubuntu partition (sda2) and Manage Flags > set the boot flag and close GParted.

To reinstall GRUB:

sudo mount /dev/sda2 /mnt
sudo grub-install --root-directory=/mnt /dev/sda

Reboot and run
sudo update-grub back in Ubuntu.

Let us know if this works please.

oldfred
February 17th, 2011, 03:00 PM
Rubi1200, with gpt a bios_boot partition is just about required. it is just for core.img. But the new version of the script is supposed to find core.img in the bios_boot partition and it is not shown. Perhaps a reinstall of grub2 is required.

One user did have a gpt disk and the author of gdisk which is a fdisk for gpt drives had them add a boot flag. Boot flags are in fact not supposed to be used with gpt disks, but with the Intel MB that did work.

You should be able to use gparted and right click to set flags.

Rubi1200
February 17th, 2011, 03:30 PM
Oops, you are right; completely missed that :redface:

Plus, this was done with the "old" boot script rather than the one Gert is working on.

Thanks for spotting that oldfred.

@kamalpalei; follow oldfred's instructions.

kamalpalei
February 17th, 2011, 03:33 PM
Hi Rubi1200
I have
1. set the boot flag as suggested
2. Was able to execute commands as below.

ubuntu@ubuntu:~$ sudo mount /dev/sda2 /mnt
mount: /dev/sda2 already mounted or /mnt busy
mount: according to mtab, /dev/sda2 is already mounted on /mnt
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt /dev/sda
Installation finished. No error reported.
ubuntu@ubuntu:~$

Then I did reboot the system from CD. After that I executed command
sudo update-grub

The output looks as below.

ubuntu@ubuntu:~$ sudo update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

Please let me know what next to do?

Thanks for your support.

Regards
Kamal

kamalpalei
February 17th, 2011, 03:43 PM
Hi Oldfred, Rubi1200
As I understand I need to reinstall grub2.

I am following the instructions from https://help.ubuntu.com/community/Grub2
I did it initially without any luck.
I will give one more try and update soon.

Regards
Kamal

oldfred
February 17th, 2011, 03:45 PM
This should only be run from your working system or a chroot into the system.

sudo update-grub


It will not work on liveCD as it cannot update anything on Cd and you really do not have grub installed the same way on the cd.

Does computer boot without CD?

kamalpalei
February 17th, 2011, 03:54 PM
Hi Rubi1200, Oldfred
I tried reinstalling grub2, I hope it is not successful.


ubuntu@ubuntu:/usr/bin$ sudo apt-get install grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub-pc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 247 not upgraded.
ubuntu@ubuntu:/usr/bin$


as it is not reinstalling, I just removed it and going to do reinstall.


ubuntu@ubuntu:/usr/bin$
ubuntu@ubuntu:/usr/bin$ sudo apt-get remove grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
grub-pc
0 upgraded, 0 newly installed, 1 to remove and 247 not upgraded.
After this operation, 2,281kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 128778 files and directories currently installed.)
Removing grub-pc ...
Processing triggers for man-db ...
ubuntu@ubuntu:/usr/bin$
ubuntu@ubuntu:/usr/bin$



ubuntu@ubuntu:/usr/bin$
ubuntu@ubuntu:/usr/bin$
ubuntu@ubuntu:/usr/bin$ sudo apt-get install grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
desktop-base
The following NEW packages will be installed:
grub-pc
0 upgraded, 1 newly installed, 0 to remove and 247 not upgraded.
Need to get 0B/608kB of archives.
After this operation, 2,281kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package grub-pc.
(Reading database ... 128557 files and directories currently installed.)
Unpacking grub-pc (from .../grub-pc_1.98-1ubuntu10_i386.deb) ...
Processing triggers for man-db ...
Setting up grub-pc (1.98-1ubuntu10) ...

ubuntu@ubuntu:/usr/bin$



As per instructions mentioned in "https://help.ubuntu.com/community/Grub2", I should have got a new dialog for configuring grub-pc. I did not get it, so I hope something is going wrong here.

Please let me know how should I proceed further.


Besides this, I notice that the first partition is just 1MB and as I see it is not used.
While installing I wanted to remove that 1MB partition, however system does not give any option to remove. It looks in I3 machines this 1MB free partition is not there. Can it be the source of this problem.

Regards
Kamal

oldfred
February 17th, 2011, 04:19 PM
All the new partitioning programs now round to 8 block sectors. Computers have used LBA not cylinders for about 10 years. Before you did not see the space because it was just a little smaller, now it round up a little and you can see it. Do not try to adjust partitions, some have damaged system trying.

The first partition may look like it is not used but it is. It is just an unformated bios_boot partition for MBR(msdos) computers. EFI computers will have an efi partition instead.

You may have installed grub2 correctly and it may even be working, but then you have another boot issue often video related. When you only have one system, grub does not show a menu & just boots. If you hold shift key down from BIOS until menu appears, do you get a menu.

Do you have an nVidia video card, or what do you have?

How to set NOMODESET and other kernel boot options in grub2
http://ubuntuforums.org/showthread.php?t=1613132
I had to do this with my Nvidia 9600GT:
boot from the cd, press F6 and then select the nomodeset option.
then
On first boot after install, press e on getting the GRUB bootloader.
Hold shift from BIOS boot to get menu if only one system installed.
Using arrow keys navigate to and delete quiet and splash and type the word nomodeset in their place
Press Ctrl and X to boot (low graphics mode)
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/661939/comments/18

kamalpalei
February 17th, 2011, 04:32 PM
Hi Rubi1200
I am not able to boot without CD yet.

I am not able to run sudo update-grub

I did boot with CD, then took CD out, and tried sudo update-grub. It did not work.

I do not know how to do chroot. Please let me know how can I do chroot and execute command update-grub.

Regards
Kamal

kamalpalei
February 17th, 2011, 04:36 PM
Hi Oldfred
I do not have nVidia video card. Hardware wise, I just purchased
1. I5 processor (I assume it has got graphics support so separate graphics card is not required)
2. DH55P J 650 boxed Intel motherboard
3. Hard disk


Do I need to look at instructions you suggested as below

How to set NOMODESET and other kernel boot options in grub2
http://ubuntuforums.org/showthread.php?t=1613132
I had to do this with my Nvidia 9600GT:
boot from the cd, press F6 and then select the nomodeset option.
then
On first boot after install, press e on getting the GRUB bootloader.
Hold shift from BIOS boot to get menu if only one system installed.
Using arrow keys navigate to and delete quiet and splash and type the word nomodeset in their place
Press Ctrl and X to boot (low graphics mode)
https://bugs.launchpad.net/ubuntu/+s...39/comments/18 (https://bugs.launchpad.net/ubuntu/+source/casper/+bug/661939/comments/18)

Regards
Kamal

Rubi1200
February 17th, 2011, 05:03 PM
Hi kamalpalei,
I apologize for the possibly incorrect instructions earlier.

Here is what I think you need to do.

Use the LiveCD again and download and run a new version of the boot script which will hopefully show us what is happening.


wget -O boot_info_script.sh 'http://bootinfoscript.git.sourceforge.net/git/gitweb.cgi?p=bootinfoscript/bootinfoscript;a=blob_plain;f=boot_info_script.sh; hb=0c8e808eba272af5ef8b5f4df4654f350526d17b'

Move the script to the Desktop and then run this:

sudo apt-get install gawk && sudo bash ~/Desktop/boot_info_script*.sh
Post the results back here as before please.

Thanks.

kamalpalei
February 17th, 2011, 05:17 PM
Hi Rubi1200
I did execute the commands as you mentioned.
Here is the RESULTS.txt below.


Boot Info Script 0.56 from 8 February 2011


============================= Boot Info Summary: ===============================

=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 2048 of the
same hard drive for core.img, but core.img can not be found at this
location..

sda1: __________________________________________________ ________________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda3: __________________________________________________ ________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 1 3,907,029,167 3,907,029,167 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 4,095 2,048 BIOS Boot partition
/dev/sda2 4,096 3,895,773,183 3,895,769,088 EFI System partition
/dev/sda3 3,895,773,184 3,907,028,991 11,255,808 Swap partition (Linux)

"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda2 18c97f12-63f6-44ba-9776-c80e7fc47acb ext4
/dev/sda3 08a9174d-888c-4152-a7a1-f84520bd2175 swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)


=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=18c97f12-63f6-44ba-9776-c80e7fc47acb ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=18c97f12-63f6-44ba-9776-c80e7fc47acb ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 18c97f12-63f6-44ba-9776-c80e7fc47acb
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=18c97f12-63f6-44ba-9776-c80e7fc47acb / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=08a9174d-888c-4152-a7a1-f84520bd2175 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

906.129905701 = 972.949577728 boot/grub/core.img 1
1788.146926880 = 1920.008142848 boot/grub/grub.cfg 1
906.138225555 = 972.958511104 boot/initrd.img-2.6.32-24-generic 1
0.271335602 = 0.291344384 boot/vmlinuz-2.6.32-24-generic 1
906.138225555 = 972.958511104 initrd.img 1
0.271335602 = 0.291344384 vmlinuz 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda1

00000000 52 e8 28 01 74 08 56 be 33 81 e8 4c 01 5e bf f4 |R.(.t.V.3..L.^..|
00000010 81 66 8b 2d 83 7d 08 00 0f 84 e9 00 80 7c ff 00 |.f.-.}.......|..|
00000020 74 46 66 8b 1d 66 8b 4d 04 66 31 c0 b0 7f 39 45 |tFf..f.M.f1...9E|
00000030 08 7f 03 8b 45 08 29 45 08 66 01 05 66 83 55 04 |....E.)E.f..f.U.|
00000040 00 c7 04 10 00 89 44 02 66 89 5c 08 66 89 4c 0c |......D.f.\.f.L.|
00000050 c7 44 06 00 70 50 c7 44 04 00 00 b4 42 cd 13 0f |.D..pP.D....B...|
00000060 82 bb 00 bb 00 70 eb 68 66 8b 45 04 66 09 c0 0f |.....p.hf.E.f...|
00000070 85 a3 00 66 8b 05 66 31 d2 66 f7 34 88 54 0a 66 |...f..f1.f.4.T.f|
00000080 31 d2 66 f7 74 04 88 54 0b 89 44 0c 3b 44 08 0f |1.f.t..T..D.;D..|
00000090 8d 83 00 8b 04 2a 44 0a 39 45 08 7f 03 8b 45 08 |.....*D.9E....E.|
000000a0 29 45 08 66 01 05 66 83 55 04 00 8a 54 0d c0 e2 |)E.f..f.U...T...|
000000b0 06 8a 4c 0a fe c1 08 d1 8a 6c 0c 5a 52 8a 74 0b |..L......l.ZR.t.|
000000c0 50 bb 00 70 8e c3 31 db b4 02 cd 13 72 50 8c c3 |P..p..1.....rP..|
000000d0 8e 45 0a 58 c1 e0 05 01 45 0a 60 1e c1 e0 03 89 |.E.X....E.`.....|
000000e0 c1 31 ff 31 f6 8e db fc f3 a5 1f e8 3e 00 74 06 |.1.1........>.t.|
000000f0 be 3b 81 e8 63 00 61 83 7d 08 00 0f 85 1d ff 83 |.;..c.a.}.......|
00000100 ef 0c e9 0f ff e8 24 00 74 06 be 3d 81 e8 49 00 |......$.t..=..I.|
00000110 5a ea 00 82 00 00 be 40 81 e8 3d 00 eb 06 be 45 |Z......@..=....E|
00000120 81 e8 35 00 be 4a 81 e8 2f 00 eb fe bb 17 04 80 |..5..J../.......|
00000130 27 03 c3 6c 6f 61 64 69 6e 67 00 2e 00 0d 0a 00 |'..loading......|
00000140 47 65 6f 6d 00 52 65 61 64 00 20 45 72 72 6f 72 |Geom.Read. Error|
00000150 00 bb 01 00 b4 0e cd 10 46 8a 04 3c 00 75 f2 c3 |........F..<.u..|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 01 08 00 00 00 00 00 00 2f 00 20 08 |............/. .|
00000200

kamalpalei
February 17th, 2011, 05:41 PM
Hi Rubi1200
From above result -

Grub 2 is installed in the MBR of /dev/sda and looks at sector 2048 of the
same hard drive for core.img, but core.img can not be found at this
location..

Looks grub is looking at sector 2048 for core.img.

But the partition information is as below

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 4,095 2,048 BIOS Boot partition
/dev/sda2 4,096 3,895,773,183 3,895,769,088 EFI System partition
/dev/sda3 3,895,773,184 3,907,028,991 11,255,808 Swap partition (Linux)


So if I am not wronf, 2048 sector refers to /dev/sda1. And /dev/sda1 does not contain core.img


Ideally grub should have looked for core.img at /dev/sda2 (means at sector 4096).

am I correct?

If so, how can I force grub to look at 4096 sector for core.img.

Best Regards
Kamal

Rubi1200
February 17th, 2011, 06:16 PM
Okay, so this what I am not sure about. You have a GPT disk and I don't know whether GRUB needs to be in sda1 or sda2. I think you need to wait for oldfred, srs5694, or someone else who knows more about GPT than I do.

Meantime, do not attempt to reinstall GRUB again. Wait, and we will try and help you sort this out as quickly as possible.

Thanks.

kamalpalei
February 17th, 2011, 06:36 PM
Thanks Rubi1200
Will wait for Oldfred and experts comments , how do we make sure grub boots from /dev/sda2..

Regards
Kamal

srs5694
February 17th, 2011, 08:17 PM
In a previous post, you said you set the boot flag on the MBR partition; however, there's no evidence of that....



Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 1 3,907,029,167 3,907,029,167 ee GPT

If the active/boot flag were set, there should be an asterisk under the "Boot" column. (Incidentally, columns can be preserved and read more easily if you place a "
" string before and a "" string after text you cut-and-paste from monospaced terminals. I've added these strings, but the formatting may have been irrevocably lost.)

To add an active/boot flag, you must use the Linux fdisk program, as in:


$ sudo fdisk /dev/sdc
Password:

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

Command (m for help): p

Disk /dev/sdc: 2038 MB, 2038431744 bytes
211 heads, 27 sectors/track, 698 cylinders
Units = cylinders of 5697 * 512 = 2916864 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdc1 1 699 1990655+ ee GPT
Partition 1 has different physical/logical endings:
phys=(247, 210, 27) logical=(698, 177, 27)

Command (m for help): a
Partition number (1-4): 1

Command (m for help): p

Disk /dev/sdc: 2038 MB, 2038431744 bytes
211 heads, 27 sectors/track, 698 cylinders
Units = cylinders of 5697 * 512 = 2916864 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 699 1990655+ ee GPT
Partition 1 has different physical/logical endings:
phys=(247, 210, 27) logical=(698, 177, 27)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.


The 'a' command sets (or clears, if it's already set) the boot/active flag. Note that before issuing the command, that flag is unset, but after issuing the command, the flag is set. The 'w' command then writes the changes to disk.

Don't bother re-installing GRUB after you make this change. If I'm right, GRUB is already properly installed, and the only problem is the boot flag. (Well, technically, the problem is a buggy BIOS that requires the boot flag when it shouldn't, but the workaround is to set the boot flag.)

Note that the Boot Info Script sometimes fails to detect GRUB's core.img file in the BIOS Boot Partition. Thus, I wouldn't worry too much about that issue just yet. If you set the boot/active flag and the computer still fails to boot, it might be worth revisiting the GRUB installation issue, but for now, I'd set that boot/active flag.

kamalpalei
February 17th, 2011, 09:05 PM
Hi srs5694
I am very much thankful to you. The boot flag I did set by System->Administer->GParted, however looks boot flag is not set properly this way.

I followed your instructions, and after that boot flag is set properly.

I am writing this with PC reboot (without live CD).

Thanks to Rubi1200, Oldfred for their time and support.

Best Regards
Kamal

Rubi1200
February 17th, 2011, 09:47 PM
Excellent! Glad you got things sorted out :-)

And, of course, huge thanks to oldfred and srs5694 for their invaluable input.

srs5694
February 17th, 2011, 10:33 PM
Hi srs5694
I am very much thankful to you. The boot flag I did set by System->Administer->GParted, however looks boot flag is not set properly this way.

I followed your instructions, and after that boot flag is set properly.

I am writing this with PC reboot (without live CD).

Thanks to Rubi1200, Oldfred for their time and support.

I'm glad to hear it's working now. I've reviewed your earlier post, and I see what happened:



Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 4,095 2,048 BIOS Boot partition
/dev/sda2 4,096 3,895,773,183 3,895,769,088 EFI System partition
/dev/sda3 3,895,773,184 3,907,028,991 11,255,808 Swap partition (Linux)

Unfortunately, GParted uses the same terms for two entirely different concepts in MBR and GPT disks. Specifically, the "boot flag" refers to a concept by that name (or by the name "active flag") in MBR. That's what you needed to set in the disk's protective MBR. GParted, however, uses the same term ("boot flag") to refer to a partition type code for the EFI System Partition (ESP) in GPT. This is, IMHO, a confusing abuse of terminology, and led you to make a mistake. Now, as you can see from the above-quoted part of your Boot Info Script output, your /dev/sda2 is marked as being an ESP. It appears, however, that this is your Linux root (/) partition; it is not an ESP and should not be marked as such. Linux ignores partition type codes in most situations, but it's conceivable that some utility will get confused by this. In a worst-case scenario, an OS installer could attempt to reformat the partition as an ESP, thus wiping out your Linux installation. Thus, I recommend you correct the problem. You can do this in either of two ways:



Using GParted (or some other libparted-based tool, such as parted), unset the boot flag on the partition.
Using GPT fdisk, (http://www.rodsbooks.com/gdisk/) change the partition type code from EF00 to 0700 by using the "t" main menu option, then save the changes with the "w" main menu option.

kamalpalei
February 19th, 2011, 11:54 AM
Hi Srs5694
I did unset the boot flag using Gparted.
Again I run below commands.



wget -O boot_info_script.sh 'http://bootinfoscript.git.sourceforge.net/git/gitweb.cgi?p=bootinfoscript/bootinfoscript;a=blob_plain;f=boot_info_script.sh; hb=0c8e808eba272af5ef8b5f4df4654f350526d17b'


and

sudo apt-get install gawk && sudo bash ~/Desktop/boot_info_script*.sh


and the RESULT.txt looks like as below.

Please let me know if the system is proper now.

Many thanks for your support to me.

Regards
Kamal


Boot Info Script 0.56 from 8 February 2011


============================= Boot Info Summary: ===============================

=> Grub 2 is installed in the MBR of /dev/sda and looks at sector 2048 of the
same hard drive for core.img, but core.img can not be found at this
location..

sda1: __________________________________________________ ________________________

File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

sda2: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda3: __________________________________________________ ________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 1 3,907,029,167 3,907,029,167 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 4,095 2,048 BIOS Boot partition
/dev/sda2 4,096 3,895,814,143 3,895,810,048 Data partition (Windows/Linux)
/dev/sda3 3,895,814,144 3,907,028,991 11,214,848 Swap partition (Linux)

"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/sda2 3e6e1014-8236-4563-98e9-3275d7bcf248 ext4
/dev/sda3 c5b43edb-bcf7-4aaf-a943-809ca1a3135d swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda2 / ext4 (rw,errors=remount-ro)


=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 3e6e1014-8236-4563-98e9-3275d7bcf248
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 3e6e1014-8236-4563-98e9-3275d7bcf248
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 3e6e1014-8236-4563-98e9-3275d7bcf248
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=3e6e1014-8236-4563-98e9-3275d7bcf248 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 3e6e1014-8236-4563-98e9-3275d7bcf248
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=3e6e1014-8236-4563-98e9-3275d7bcf248 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 3e6e1014-8236-4563-98e9-3275d7bcf248
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 3e6e1014-8236-4563-98e9-3275d7bcf248
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda2 during installation
UUID=3e6e1014-8236-4563-98e9-3275d7bcf248 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=c5b43edb-bcf7-4aaf-a943-809ca1a3135d none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

1204.209541321 = 1293.010149376 boot/grub/core.img 1
736.138725281 = 790.422937600 boot/grub/grub.cfg 1
1204.217304230 = 1293.018484736 boot/initrd.img-2.6.32-24-generic 1
1204.193225861 = 1292.992630784 boot/vmlinuz-2.6.32-24-generic 1
1204.217304230 = 1293.018484736 initrd.img 1
1204.193225861 = 1292.992630784 vmlinuz 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda1

00000000 52 e8 28 01 74 08 56 be 33 81 e8 4c 01 5e bf f4 |R.(.t.V.3..L.^..|
00000010 81 66 8b 2d 83 7d 08 00 0f 84 e9 00 80 7c ff 00 |.f.-.}.......|..|
00000020 74 46 66 8b 1d 66 8b 4d 04 66 31 c0 b0 7f 39 45 |tFf..f.M.f1...9E|
00000030 08 7f 03 8b 45 08 29 45 08 66 01 05 66 83 55 04 |....E.)E.f..f.U.|
00000040 00 c7 04 10 00 89 44 02 66 89 5c 08 66 89 4c 0c |......D.f.\.f.L.|
00000050 c7 44 06 00 70 50 c7 44 04 00 00 b4 42 cd 13 0f |.D..pP.D....B...|
00000060 82 bb 00 bb 00 70 eb 68 66 8b 45 04 66 09 c0 0f |.....p.hf.E.f...|
00000070 85 a3 00 66 8b 05 66 31 d2 66 f7 34 88 54 0a 66 |...f..f1.f.4.T.f|
00000080 31 d2 66 f7 74 04 88 54 0b 89 44 0c 3b 44 08 0f |1.f.t..T..D.;D..|
00000090 8d 83 00 8b 04 2a 44 0a 39 45 08 7f 03 8b 45 08 |.....*D.9E....E.|
000000a0 29 45 08 66 01 05 66 83 55 04 00 8a 54 0d c0 e2 |)E.f..f.U...T...|
000000b0 06 8a 4c 0a fe c1 08 d1 8a 6c 0c 5a 52 8a 74 0b |..L......l.ZR.t.|
000000c0 50 bb 00 70 8e c3 31 db b4 02 cd 13 72 50 8c c3 |P..p..1.....rP..|
000000d0 8e 45 0a 58 c1 e0 05 01 45 0a 60 1e c1 e0 03 89 |.E.X....E.`.....|
000000e0 c1 31 ff 31 f6 8e db fc f3 a5 1f e8 3e 00 74 06 |.1.1........>.t.|
000000f0 be 3b 81 e8 63 00 61 83 7d 08 00 0f 85 1d ff 83 |.;..c.a.}.......|
00000100 ef 0c e9 0f ff e8 24 00 74 06 be 3d 81 e8 49 00 |......$.t..=..I.|
00000110 5a ea 00 82 00 00 be 40 81 e8 3d 00 eb 06 be 45 |Z......@..=....E|
00000120 81 e8 35 00 be 4a 81 e8 2f 00 eb fe bb 17 04 80 |..5..J../.......|
00000130 27 03 c3 6c 6f 61 64 69 6e 67 00 2e 00 0d 0a 00 |'..loading......|
00000140 47 65 6f 6d 00 52 65 61 64 00 20 45 72 72 6f 72 |Geom.Read. Error|
00000150 00 bb 01 00 b4 0e cd 10 46 8a 04 3c 00 75 f2 c3 |........F..<.u..|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 01 08 00 00 00 00 00 00 2f 00 20 08 |............/. .|
00000200

kamalpalei
February 19th, 2011, 12:01 PM
Hi Srs5694
This is a specific question from performance point of view.

I am sorry, if I am asking a wrong question to you.

I am planning to setup a web server in my machine (the machine which was facing boot-up issues).
It is a 64 bit machine and I have installed ubuntu 64 bit OS (amd64).

Do I need to take any specific care, so that performance of my web server will be better.
If so, please let me know.

Also do you have any recommendation for selecting any web server.

Best Regards
Kamal

oldfred
February 19th, 2011, 04:21 PM
kamalpalei,

Generally, it is best to open a new thread if your question is a lot different than the original question or the thread title. There also is a server sub forum (not sure about all the others) that may be able to better answer you question. Even if one of us has a good answer to a question others may add to it, (or correct it). But with your title few that know about web servers will look at it.

srs5694
February 20th, 2011, 06:06 PM
Hi Srs5694
I did unset the boot flag using Gparted.
Again I run below commands.
...
Please let me know if the system is proper now.
...

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 4,095 2,048 BIOS Boot partition
/dev/sda2 4,096 3,895,814,143 3,895,810,048 Data partition (Windows/Linux)
/dev/sda3 3,895,814,144 3,907,028,991 11,214,848 Swap partition (Linux)


The partition type is now identified as "Data partition (Windows/Linux)", which is as it should be.

As to your Web server issue, optimizing Web server performance is a very different topic from boot issues, so I recommend you start another thread on that topic.

kamalpalei
February 21st, 2011, 01:38 AM
Thanks Srs5694, Oldfred
I am thankful for your guidance.

Will start a new thread for web server.

Best Regards
kamal