PDA

View Full Version : [ubuntu] Can't boot anymore



Kognit
September 18th, 2010, 03:37 PM
Hi

I have three partitions and on /sda4 i have Ubuntu 10.04. I have formatted the second partition (/sda3) in order to install opensuse 11.3 (so that i would do some test with the opensuse). Anyway, installation process broke and now i cannot boot into ubuntu 10.04. The boot process froze when the splash screen appears. I have tried different kernels in grub and
no luck.

Any suggestion?

Thx for help

Rubi1200
September 18th, 2010, 07:22 PM
Hi,
please boot the computer with a LiveCD (Ubuntu or OpenSuse will do) and post the results of the bootscript linked to at the bottom of my post.

Thanks.

Kognit
September 18th, 2010, 09:02 PM
Hi

Thx for reply

On my /sda4 partition i still have "old" Ubuntu which doesn't boot, but on /sda3 i have installed new Ubuntu 10.04 two hours ago. Just in case i could not save the /sda4 partition Ubuntu 10.04.

I have copied the file results.txt, because it was too big for upload. Here it is:


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 #3 for /boot/grub.

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda3: __________________________________________________ _______________________

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

sda4: __________________________________________________ _______________________

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

=========================== 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 204,459,255 448,647,254 244,188,000 83 Linux
/dev/sda2 613,426,021 625,137,344 11,711,324 5 Extended
/dev/sda5 613,426,023 625,137,344 11,711,322 82 Linux swap / Solaris
/dev/sda3 448,647,255 613,425,959 164,778,705 83 Linux
/dev/sda4 * 63 204,459,254 204,459,192 83 Linux


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 c9a4a7bb-e10f-4866-b390-b559485d00bb ext4 Razno
/dev/sda2: PTTYPE="dos"
/dev/sda3 a621ebc7-51d4-4be1-ad67-9652580ac7e0 ext4
/dev/sda4 c2109785-258b-4a16-bc97-68399887081e ext4
/dev/sda5 1e3c32a7-5fab-4e19-94cb-98c9d76256d7 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)


=========================== sda3/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,3)'
search --no-floppy --fs-uuid --set a621ebc7-51d4-4be1-ad67-9652580ac7e0
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,3)'
search --no-floppy --fs-uuid --set a621ebc7-51d4-4be1-ad67-9652580ac7e0
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-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set a621ebc7-51d4-4be1-ad67-9652580ac7e0
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=a621ebc7-51d4-4be1-ad67-9652580ac7e0 ro quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set a621ebc7-51d4-4be1-ad67-9652580ac7e0
echo 'Loading Linux 2.6.32-25-generic ...'
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=a621ebc7-51d4-4be1-ad67-9652580ac7e0 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set a621ebc7-51d4-4be1-ad67-9652580ac7e0
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=a621ebc7-51d4-4be1-ad67-9652580ac7e0 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,3)'
search --no-floppy --fs-uuid --set a621ebc7-51d4-4be1-ad67-9652580ac7e0
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=a621ebc7-51d4-4be1-ad67-9652580ac7e0 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,3)'
search --no-floppy --fs-uuid --set a621ebc7-51d4-4be1-ad67-9652580ac7e0
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,3)'
search --no-floppy --fs-uuid --set a621ebc7-51d4-4be1-ad67-9652580ac7e0
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Ubuntu, with Linux 2.6.32-25-generic (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, with Linux 2.6.32-25-generic (recovery mode) (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry "Ubuntu, with Linux 2.6.32-24-generic (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, with Linux 2.6.32-24-generic (recovery mode) (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry "Ubuntu, with Linux 2.6.32-23-generic (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry "Ubuntu, with Linux 2.6.32-23-generic (recovery mode) (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry "Ubuntu, with Linux 2.6.32-22-generic (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Ubuntu, with Linux 2.6.32-22-generic (recovery mode) (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry "Ubuntu, with Linux 2.6.32-21-generic (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Ubuntu, with Linux 2.6.32-21-generic (recovery mode) (on /dev/sda4)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
initrd /boot/initrd.img-2.6.32-21-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 ###

=============================== sda3/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/sda3 during installation
UUID=a621ebc7-51d4-4be1-ad67-9652580ac7e0 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=1e3c32a7-5fab-4e19-94cb-98c9d76256d7 none swap sw 0 0

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


287.8GB: boot/grub/core.img
234.2GB: boot/grub/grub.cfg
288.1GB: boot/initrd.img-2.6.32-24-generic
288.2GB: boot/initrd.img-2.6.32-25-generic
288.0GB: boot/vmlinuz-2.6.32-24-generic
288.0GB: boot/vmlinuz-2.6.32-25-generic
288.2GB: initrd.img
288.1GB: initrd.img.old
288.0GB: vmlinuz
288.0GB: vmlinuz.old

=========================== sda4/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,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
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,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
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-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
echo 'Loading Linux 2.6.32-25-generic ...'
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash 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,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
echo 'Loading Linux 2.6.32-23-generic ...'
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
echo 'Loading Linux 2.6.32-22-generic ...'
linux /boot/vmlinuz-2.6.32-22-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro splash quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
echo 'Loading Linux 2.6.32-21-generic ...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=c2109785-258b-4a16-bc97-68399887081e ro single splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,4)'
search --no-floppy --fs-uuid --set c2109785-258b-4a16-bc97-68399887081e
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 ###

=============================== sda4/etc/fstab: ===============================

/dev/disk/by-id/ata-ST9320325AS_6VD088VX-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-ST9320325AS_6VD088VX-part4 / ext4 defaults 1 1
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0







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


83.8GB: boot/grub/core.img
69.4GB: boot/grub/grub.cfg
83.9GB: boot/grub/stage2
83.9GB: boot/initrd.img-2.6.32-21-generic
83.9GB: boot/initrd.img-2.6.32-22-generic
84.0GB: boot/initrd.img-2.6.32-23-generic
73.4GB: boot/initrd.img-2.6.32-24-generic
86.4GB: boot/initrd.img-2.6.32-25-generic
.1GB: boot/vmlinuz-2.6.32-21-generic
83.8GB: boot/vmlinuz-2.6.32-22-generic
84.0GB: boot/vmlinuz-2.6.32-23-generic
84.1GB: boot/vmlinuz-2.6.32-24-generic
84.7GB: boot/vmlinuz-2.6.32-25-generic
86.4GB: initrd.img.old
84.7GB: vmlinuz.old


I hope we will find the solution

Rubi1200
September 18th, 2010, 09:29 PM
As I understand it, you can now boot into Ubuntu?

My experience with OpenSuse:

The installer is not as easy as with Ubuntu and, if you are not careful, you could wipe out your Ubuntu installation.

Personally, I always installed OpenSuse first and then Ubuntu.

I tried recently dong it the way you want (after Ubuntu) and it caused all kinds of problems (I stopped the process before it wiped everything out).

If you want, you can partition the drive again, leaving room for Ubuntu. Install OpenSuse and then Ubuntu.

GRUB in Ubuntu will pick up the other system and you can happily dual-boot them both.

But, this is just a suggestion.

Kognit
September 18th, 2010, 10:18 PM
No, i can't boot in Ubuntu. I am saying that two hours ago i installed new Ubuntu on partition that was reserved for opensuse - so, now i have two Ubuntu's. One is not working (/sda4), and the other does (/sda3).

So, i still need help and i am really desperated because i don't want to reconfigure Ubuntu from the scratch.

garvinrick4
September 18th, 2010, 10:27 PM
Put in Ubuntu install Cd and choose Try ubuntu.
Open a terminal and

sudo mkdir /media/root

sudo mount /dev/sda4 /media/root

sudo grub-install --recheck --root-directory=/media/root /dev/sda

sudo umount /media/root
Boot back into ubuntu install of Hard Drive and
sudo update-grub

Kognit
September 18th, 2010, 10:32 PM
Put in Ubuntu install Cd and choose Try ubuntu.
Open a terminal and

sudo mkdir /media/root

sudo mount /dev/sda4 /media/root

sudo grub-install --recheck --root-directory=/media/root /dev/sda

sudo umount /media/root
Boot back into ubuntu install of Hard Drive and
sudo update-grub

I will do it but i don't know what (or how) do you mean with this:
Boot back into ubuntu install of Hard Drive and
sudo update-grub

thx for reply

garvinrick4
September 18th, 2010, 10:34 PM
When you install OpenSuse or fedora or any Linux Operating System that uses grub legacy
instead of grub2 then just choose not to install any grub at all when you install. It is there you just have to look for it. Then boot into Ubuntu install and sudo update-grub and it will
put OpenSuse or fedora or Redhat whatever you installed into your grub menu. I know this
because I have installed them in my own systems after install Ubuntu.
If you make a mistake and over write your grub2 with the grub legacy you just have to
stick in the Ubuntu live Cd and do as in previous post, reinstall your grub2 to the mbr.

garvinrick4
September 18th, 2010, 10:37 PM
I will do it but i don't know what (or how) do you mean with this:
Boot back into ubuntu install of Hard Drive and
sudo update-grubthx for reply Take the CD out and boot into the install on your sdb or external USB drive. It will now boot if you choose it to do so. If you even boot into your internal drive and

sudo update-grubit will make it a selection on next reboot in your sda's grub.

You have to do the
sudo update-grub anytime you mess with your grub.

Kognit
September 18th, 2010, 10:46 PM
I have not installed opensuse because the installation process broke.
Now i have two Ubuntu's - one working (i have installed it 3 hours ago) and the other (sda4) doesn't.

I followed your instructions, eject CD and tried to boot on sda4 but the all ended at splash screen. I tried recovery mode but this didn't work either.

Kognit
September 19th, 2010, 12:14 AM
I can see all the kernels from sda4 but all freeze on splash screen. It says it is


kernel panic - not syncing: Attempted to kill init

garvinrick4
September 19th, 2010, 12:24 AM
I have not installed opensuse because the installation process broke.
Now i have two Ubuntu's - one working (i have installed it 3 hours ago) and the other (sda4) doesn't.

I followed your instructions, eject CD and tried to boot on sda4 but the all ended at splash screen. I tried recovery mode but this didn't work either. Well if you installed Ubuntu in sda3 then it has the boot, not sda4, if something is wrong with sda4 then it is
bad. Try this. While in sda3 ubuntu install run.

sudo e2fsck /dev/sda4That is just to try to fix install in sda4, like chkdsk in Windows.
Never run fsck to any install that is mounted.
If you can boot into Linux in sda3 then you are off and running
Keep a little cheat sheet so you remember how to install grub to mbr from any install.
in previous post, just change sda4 to whatever the install is you want to boot from. If you have 2 or more installs of linux. The one you choose sda3,sda4 or whatever # will
be first in grub menu at boot to choose from.

Kognit
September 19th, 2010, 12:47 AM
I tried you hint but still - sda4 is not working. I am really desperate. And i will remember your advices in future when i will dualboot my computer.

thx anyway