PDA

View Full Version : [SOLVED] Can not find Operating system after installation of Ubuntu on Fuijtsu Amilo



ghed
December 31st, 2010, 12:06 AM
Hello. I have just installed Ubuntu 10.04 on a Fujitsu Amilo. After removing the DVD the computer is not able to find the booting on the onboard hard-drive. I get the message "Operating system not found". My first try was from a USB stick, after that I installed from a DVD. I get the same result also after downloading again. What to do. I am confused. I have done the installation on 4 or 5 computers earlier.

Rubi1200
December 31st, 2010, 09:29 AM
Hi,
in order to see the current state of your system, you need to do the following:

Boot the computer using a LiveCD/USB choosing to try not install

At the live desktop, download and run the boot info script linked at the bottom of my post (instructions included)

Post the results back here to the forums

Thanks

ghed
December 31st, 2010, 10:01 AM
Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #7 for (,msdos7)/boot/grub.

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda6: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sda7: __________________________________________________ _______________________

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

sda8: __________________________________________________ _______________________

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

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320,1 GB, 320072933376 byte
255 huvuden, 63 sektorer/spår, 38913 cylindrar, totalt 625142448 sektorer
Enheter = sektorer av 1 · 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 2,048 16,015,359 16,013,312 82 Linux swap / Solaris
/dev/sda2 16,017,406 625,141,759 609,124,354 5 Extended
/dev/sda5 16,017,408 55,076,863 39,059,456 83 Linux
/dev/sda6 55,078,912 341,725,244 286,646,333 83 Linux
/dev/sda7 341,727,232 613,550,079 271,822,848 83 Linux
/dev/sda8 613,552,128 625,141,759 11,589,632 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 9a9874c6-4164-457c-aa7b-f23eb1d8357c swap
/dev/sda2: PTTYPE="dos"
/dev/sda5 e4afaf4a-8648-4c7c-ad09-8be59dcaf98e ext4
/dev/sda6 c2495f9c-e7b9-4054-b138-ae129a6dadfc ext4
/dev/sda7 4f3aeb10-8657-4301-8e3a-d7014c799a3d ext4
/dev/sda8 144c8e29-e6dc-4325-b780-b08e302478c5 swap
/dev/sda: PTTYPE="dos"

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

Device Mount_Point Type Options

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


=========================== sda5/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,5)'
search --no-floppy --fs-uuid --set e4afaf4a-8648-4c7c-ad09-8be59dcaf98e
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,5)'
search --no-floppy --fs-uuid --set e4afaf4a-8648-4c7c-ad09-8be59dcaf98e
set locale_dir=($root)/boot/grub/locale
set lang=sv
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, med Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set e4afaf4a-8648-4c7c-ad09-8be59dcaf98e
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=e4afaf4a-8648-4c7c-ad09-8be59dcaf98e ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, med Linux 2.6.32-24-generic (återställningsläge)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set e4afaf4a-8648-4c7c-ad09-8be59dcaf98e
echo 'Läser in Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=e4afaf4a-8648-4c7c-ad09-8be59dcaf98e ro single
echo 'Läser in 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,5)'
search --no-floppy --fs-uuid --set e4afaf4a-8648-4c7c-ad09-8be59dcaf98e
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set e4afaf4a-8648-4c7c-ad09-8be59dcaf98e
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 ###

=============================== sda5/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
/dev/sda5 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda6 during installation
UUID=c2495f9c-e7b9-4054-b138-ae129a6dadfc /home ext4 defaults 0 2
/dev/sda1 none swap sw 0 0

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


19.0GB: boot/grub/core.img
19.0GB: boot/grub/grub.cfg
25.7GB: boot/initrd.img-2.6.32-24-generic
19.2GB: boot/vmlinuz-2.6.32-24-generic
25.7GB: initrd.img
19.2GB: vmlinuz

=========================== sda7/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set 4f3aeb10-8657-4301-8e3a-d7014c799a3d
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set 4f3aeb10-8657-4301-8e3a-d7014c799a3d
set locale_dir=($root)/boot/grub/locale
set lang=sv
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.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set 4f3aeb10-8657-4301-8e3a-d7014c799a3d
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=4f3aeb10-8657-4301-8e3a-d7014c799a3d ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set 4f3aeb10-8657-4301-8e3a-d7014c799a3d
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=4f3aeb10-8657-4301-8e3a-d7014c799a3d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set 4f3aeb10-8657-4301-8e3a-d7014c799a3d
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set 4f3aeb10-8657-4301-8e3a-d7014c799a3d
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, med Linux 2.6.32-24-generic (on /dev/sda5)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set e4afaf4a-8648-4c7c-ad09-8be59dcaf98e
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=e4afaf4a-8648-4c7c-ad09-8be59dcaf98e ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, med Linux 2.6.32-24-generic (återställningsläge) (on /dev/sda5)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set e4afaf4a-8648-4c7c-ad09-8be59dcaf98e
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=e4afaf4a-8648-4c7c-ad09-8be59dcaf98e ro single
initrd /boot/initrd.img-2.6.32-24-generic
}
### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda7/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/sda7 during installation
UUID=4f3aeb10-8657-4301-8e3a-d7014c799a3d / ext4 errors=remount-ro 0 1
# swap was on /dev/sda8 during installation
UUID=144c8e29-e6dc-4325-b780-b08e302478c5 none swap sw 0 0

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


177.3GB: boot/grub/core.img
220.2GB: boot/grub/grub.cfg
220.3GB: boot/initrd.img-2.6.35-22-generic
175.3GB: boot/vmlinuz-2.6.35-22-generic
220.3GB: initrd.img
175.3GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 a4 81 00 00 14 06 00 00 83 8b 90 4b 82 0c 1d 4d |...........K...M|
00000010 83 8b 90 4b 00 00 00 00 00 00 01 00 08 00 00 00 |...K............|
00000020 00 00 08 00 01 00 00 00 0a f3 01 00 04 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 01 00 00 00 26 42 02 00 |............&B..|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000060 00 00 00 00 b4 c9 96 53 00 00 00 00 00 00 00 00 |.......S........|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 1c 00 00 00 48 22 c6 24 00 00 00 00 00 00 00 00 |....H".$........|
00000090 82 0c 1d 4d 48 22 c6 24 00 00 00 00 00 00 00 00 |...MH".$........|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000100 a4 81 00 00 b8 05 00 00 83 8b 90 4b 82 0c 1d 4d |...........K...M|
00000110 83 8b 90 4b 00 00 00 00 00 00 01 00 08 00 00 00 |...K............|
00000120 00 00 08 00 01 00 00 00 0a f3 01 00 04 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 01 00 00 00 27 42 02 00 |............'B..|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000160 00 00 00 00 b5 c9 96 53 00 00 00 00 00 00 00 00 |.......S........|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 1c 00 00 00 48 22 c6 24 00 00 00 00 00 00 00 00 |....H".$........|
00000190 82 0c 1d 4d 48 22 c6 24 00 00 00 00 00 00 00 00 |...MH".$........|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 |................|
000001c0 e5 e5 83 fe ff ff 02 00 00 00 00 00 54 02 00 fe |............T...|
000001d0 ff ff 05 fe ff ff 02 00 54 02 3d e8 15 11 00 00 |........T.=.....|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200

Rubi1200
December 31st, 2010, 11:52 AM
Thanks for the results.

The problem may be caused by 2 Ubuntu installs. Was this intentional?

Basically, the results look normal and my first suggestion would be to try reinstalling GRUB.

What you need to tell me is which version you want controlling the boot process.

dino99
December 31st, 2010, 12:37 PM
http://ubuntuforums.org/showpost.php?p=10161428&postcount=2

as both of your distro are on ext4 partitions, maybe you met the same issue as others users met too, reinstall on ext3 this time to compare ( ext4 seem to have some troubles with unidentified chips/hardware at time)

ghed
December 31st, 2010, 01:26 PM
Hello and thanks for the replies.
The double installation is intentional. I hoped that the double installation could solv the problem.
I installed the 10.04 first, it was the same problem. My intention is to have only one version of Ubuntu on the computer. It is my son's computer and he will most use it to surf on the internet, look at films and listen to music.
In the next answer "dino99" suggest that I shall install on ext3.
My next step is to do a single installation of 10.10 on ext3.
I report after the try.
ghed

ghed
December 31st, 2010, 02:10 PM
Hello again.
I did a reinstallation used ext3. I got the same message,that Operating system was not found. Te boot info script gave:


Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for (,msdos5)/boot/grub.

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda6: __________________________________________________ _______________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 * 2,048 16,015,359 16,013,312 82 Linux swap / Solaris
/dev/sda2 16,017,406 625,141,759 609,124,354 5 Extended
/dev/sda5 16,017,408 35,547,135 19,529,728 83 Linux
/dev/sda6 35,549,184 625,141,759 589,592,576 83 Linux


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 9a9874c6-4164-457c-aa7b-f23eb1d8357c swap
/dev/sda2: PTTYPE="dos"
/dev/sda5 261d0df4-7d7d-4706-a268-12c737787e9f ext3
/dev/sda6 d03dd5d0-4301-4a10-93c3-699a6b674fe1 ext3
/dev/sda: PTTYPE="dos"

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

Device Mount_Point Type Options

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


=========================== sda5/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 261d0df4-7d7d-4706-a268-12c737787e9f
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 261d0df4-7d7d-4706-a268-12c737787e9f
set locale_dir=($root)/boot/grub/locale
set lang=sv
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.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 261d0df4-7d7d-4706-a268-12c737787e9f
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=261d0df4-7d7d-4706-a268-12c737787e9f ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 261d0df4-7d7d-4706-a268-12c737787e9f
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=261d0df4-7d7d-4706-a268-12c737787e9f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 261d0df4-7d7d-4706-a268-12c737787e9f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 261d0df4-7d7d-4706-a268-12c737787e9f
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

=============================== sda5/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
/dev/sda5 / ext3 errors=remount-ro 0 1
/dev/sda6 /home ext3 defaults 0 2
# swap was on /dev/sda1 during installation
UUID=9a9874c6-4164-457c-aa7b-f23eb1d8357c none swap sw 0 0

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


16.0GB: boot/grub/core.img
16.0GB: boot/grub/grub.cfg
16.0GB: boot/initrd.img-2.6.35-22-generic
16.1GB: boot/vmlinuz-2.6.35-22-generic
16.0GB: initrd.img
16.1GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 a4 81 00 00 14 06 00 00 83 8b 90 4b 82 0c 1d 4d |...........K...M|
00000010 83 8b 90 4b 00 00 00 00 00 00 01 00 08 00 00 00 |...K............|
00000020 00 00 08 00 01 00 00 00 0a f3 01 00 04 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 01 00 00 00 26 42 02 00 |............&B..|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000060 00 00 00 00 b4 c9 96 53 00 00 00 00 00 00 00 00 |.......S........|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 1c 00 00 00 48 22 c6 24 00 00 00 00 00 00 00 00 |....H".$........|
00000090 82 0c 1d 4d 48 22 c6 24 00 00 00 00 00 00 00 00 |...MH".$........|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000100 a4 81 00 00 b8 05 00 00 83 8b 90 4b 82 0c 1d 4d |...........K...M|
00000110 83 8b 90 4b 00 00 00 00 00 00 01 00 08 00 00 00 |...K............|
00000120 00 00 08 00 01 00 00 00 0a f3 01 00 04 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 01 00 00 00 27 42 02 00 |............'B..|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000160 00 00 00 00 b5 c9 96 53 00 00 00 00 00 00 00 00 |.......S........|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 1c 00 00 00 48 22 c6 24 00 00 00 00 00 00 00 00 |....H".$........|
00000190 82 0c 1d 4d 48 22 c6 24 00 00 00 00 00 00 00 00 |...MH".$........|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 |................|
000001c0 e5 e5 83 fe ff ff 02 00 00 00 00 00 2a 01 00 fe |............*...|
000001d0 ff ff 05 fe ff ff 02 00 2a 01 00 80 24 23 00 00 |........*...$#..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200

Rubi1200
December 31st, 2010, 03:00 PM
Hi,
can you please do the following:

post the output of these 2 commands which need to be run in the terminal:


sudo parted -l

sudo fdisk -lu
Run them separately and copy/paste the entire output and post it here.

This can be done from the LiveCD (obviously).

One final question, is this a SATA drive and is there a SATA or an IDE controller?

Check your BIOS settings too.

Thanks.

ghed
December 31st, 2010, 03:45 PM
SATA or IDE the disks are SATA
I don't know about the controllers
The boot order is set in the BIOS.

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009ad84

Device Boot Start End Blocks Id System
/dev/sda1 * 1 997 8006656 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 998 38914 304562177 5 Extended
/dev/sda5 998 2456 11717632 83 Linux
/dev/sda6 2456 38914 292843520 83 Linux
ubuntu@ubuntu:~$

ubuntu@ubuntu:~$ sudo parted -l
Model: ATA WDC WD3200BEVT-2 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 8200MB 8199MB primary linux-swap(v1) boot
2 8201MB 320GB 312GB extended
5 8201MB 20,2GB 12,0GB logical ext4
6 20,2GB 320GB 300GB logical ext4


Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label

ubuntu@ubuntu:~$ sudo fdisk -lu

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009ad84

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 16015359 8006656 82 Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2 16017406 625141759 304562177 5 Extended
/dev/sda5 16017408 39452671 11717632 83 Linux
/dev/sda6 39454720 625141759 292843520 83 Linux
ubuntu@ubuntu:~$

Rubi1200
January 1st, 2011, 09:44 AM
I cannot say for sure, but I think part of the problem may be here:

Partition 1 does not end on cylinder boundary.I will try and find more information for you.

EDIT: how did you partition the drive, using GParted?

Was the "align to cylinder boundaries" box checked?

ghed
January 1st, 2011, 12:42 PM
Hello
I used the ubuntu installer and din manual partitioning of the disk. I attach a picture of the result of Gparted on the computer

Rubi1200
January 1st, 2011, 03:53 PM
What is that gray area between the 2 ext4 partitions?

I cannot read what is written there.

Also, why is the boot flag on sda1? Did you previously have something else on sda1?

ghed
January 1st, 2011, 04:43 PM
Hello
The gray area says "inte allokerad" = "not allocated"
I belive that this is what is confusing the boot of ubuntu. Earlier WIN7 was installed on the computer.
I tried to put in an old winxp disk, then it booted from the hard drive and everything works perfect.
I send a better picture

guitar76
January 1st, 2011, 05:09 PM
Partition 1 does not end on cylinder boundary.
reminded me of my Arch installation process on my new netbook a few weeks ago.
Not that I understood the problem in detail, but there are some differences with handling cylinder boundaries of a hard disk between Linux and Windows. As you said there was a Windows installation on the Laptop so your problem could be similar to mine.

So if you have enough time I would, according to https://wiki.archlinux.org/index.php/Samsung_N150#Installation suggest to delete your partition table and partition your hard disk with a Linux partition manager from scratch (dont forget to backup important data...). And after that doing a fresh install of Ubuntu.

ghed
January 1st, 2011, 06:06 PM
Hello. In GPARTED I moved the "flag" boot to sd5 !!!! It worked :)

Rubi1200
January 1st, 2011, 06:40 PM
Hello. In GPARTED I moved the "flag" boot to sd5 !!!! It worked :)
Excellent! I am really pleased you got this sorted out.

Please mark this Solved using the Thread Tools near the top of the page.