PDA

View Full Version : [ubuntu] Problem after ubuntu 10.4 installation



egor123
April 18th, 2011, 05:03 PM
Hello everyone!

I'm kinda new to everything concerning ubuntu. Anyway i decided to try install it on my desktop pc. its really old

i tried several times, installed ubuntu 10.10, ubuntu 10,4 and a xubuntu..
when i boot from a usb drive or a cd everythimg works just fine
when i tred to boot from hdd before a had a grub2 error
now that's fine i installed ubuntu 10.4 and after booting i get some kind of a command line
isnt usual desktop version supposed to start with the graphic interface?
if not then how do i login and start the system?

the motherboard is liteon tech 08Fch and the videocard is built in in the motherboard


thank you!

mörgæs
April 18th, 2011, 05:09 PM
Hi, welcome to the fora

Please post a complete description of the hardware, especially the size of memory.

Quackers
April 18th, 2011, 05:10 PM
Welcome to UF.
If you can find out the actual chipset of the graphics that would help. Also how much ram is installed?
Please boot from the live cd/usb and select "try ubuntu" and then connect to the internet. Then go to the site below and download the boot script to your DESKTOP and then open up a terminal (Applications > Accessories > terminal) and run


sudo bash ~/Desktop/boot_info_script*.sh

This will produce a results.txt file on your desktop. Please copy the contents of that file and paste them in your next post between CODE tags. For CODE tags click on New Reply (not quick reply)and then click on the # symbol in the toolbar.
This will give a full overview of your current system.
Thanks.

http://bootinfoscript.sourceforge.net/

egor123
April 18th, 2011, 05:38 PM
just doing overview as you asked



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

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78165360 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 74,864,639 74,862,592 83 Linux
/dev/sda2 74,866,686 78,163,967 3,297,282 5 Extended
/dev/sda5 74,866,688 78,163,967 3,297,280 82 Linux swap / Solaris


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 661fcf00-4541-42e4-8fde-8ea291895e7a ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 72902b2c-aa99-4216-984d-a666e91f60b6 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)


=========================== sda1/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,1)'
search --no-floppy --fs-uuid --set 661fcf00-4541-42e4-8fde-8ea291895e7a
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,1)'
search --no-floppy --fs-uuid --set 661fcf00-4541-42e4-8fde-8ea291895e7a
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-30-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 661fcf00-4541-42e4-8fde-8ea291895e7a
linux /boot/vmlinuz-2.6.32-30-generic-pae root=UUID=661fcf00-4541-42e4-8fde-8ea291895e7a ro quiet splash
initrd /boot/initrd.img-2.6.32-30-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-30-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 661fcf00-4541-42e4-8fde-8ea291895e7a
echo 'Loading Linux 2.6.32-30-generic-pae ...'
linux /boot/vmlinuz-2.6.32-30-generic-pae root=UUID=661fcf00-4541-42e4-8fde-8ea291895e7a ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-30-generic-pae
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 661fcf00-4541-42e4-8fde-8ea291895e7a
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 661fcf00-4541-42e4-8fde-8ea291895e7a
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 ###

=============================== sda1/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/sda1 during installation
UUID=661fcf00-4541-42e4-8fde-8ea291895e7a / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=72902b2c-aa99-4216-984d-a666e91f60b6 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0

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


6.6GB: boot/grub/core.img
15.2GB: boot/grub/grub.cfg
6.6GB: boot/initrd.img-2.6.32-30-generic-pae
6.6GB: boot/vmlinuz-2.6.32-30-generic-pae
6.6GB: initrd.img
6.6GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 8e a6 1a 03 ba 75 c4 82 00 71 8c e4 86 40 69 57 |.....u...q...@iW|
00000010 38 40 c1 0e 7e 0c 2b 39 07 8f a9 03 a1 87 38 96 |8@..~.+9......8.|
00000020 78 5c f0 5b cf 33 9e 10 20 07 25 e5 18 25 d9 e0 |x\.[.3.. .%..%..|
00000030 86 e7 11 58 c1 c8 58 4d ae 8a 14 3d f0 af 85 8b |...X..XM...=....|
00000040 2d f8 45 c4 a4 31 b1 10 bf 68 da c3 bb 74 43 7c |-.E..1...h...tC||
00000050 cd ca 1d 59 0b 42 6b cd 23 c6 f2 b9 16 c6 4e 64 |...Y.Bk.#.....Nd|
00000060 6b 0a fe ae 43 32 19 95 1f 1c 4e fa 3b 9b d3 f8 |k...C2....N.;...|
00000070 5a ae d0 bb 80 d6 dd 1d 5c 63 a6 21 42 8b 27 42 |Z.......\c.!B.'B|
00000080 b6 74 62 80 e1 86 6f ce 62 c4 18 6a 78 fb 82 50 |.tb...o.b..jx..P|
00000090 43 3c 29 34 8f 58 86 7a e3 ed bc 46 35 25 f0 99 |C<)4.X.z...F5%..|
000000a0 1d 50 f5 09 fc 89 a0 fa 18 3d 70 d5 0f 93 06 35 |.P.......=p....5|
000000b0 70 fb 40 00 da 1d cc 35 c9 ce 06 00 1d c9 4e bc |p.@....5......N.|
000000c0 54 92 8e 74 72 01 a4 8e 78 61 d5 dc e2 10 d3 c4 |T..tr...xa......|
000000d0 02 42 02 8b 30 97 3e fc 18 c3 83 2c 05 c0 1e 05 |.B..0.>....,....|
000000e0 95 51 e0 27 f2 3e 9b e6 15 18 81 6e 1a c9 1c 4e |.Q.'.>.....n...N|
000000f0 e4 ce c5 43 05 43 3e e9 e2 a6 4c 28 23 82 33 50 |...C.C>...L(#.3P|
00000100 d5 b8 f7 58 67 3a 60 ec d8 92 01 2d 47 1a 25 30 |...Xg:`....-G.%0|
00000110 f2 05 92 c2 9d 75 66 b6 bc e8 42 86 8d ea c7 4e |.....uf...B....N|
00000120 42 a6 e0 f6 b6 e4 8d d2 40 66 6b ac f5 a9 60 ea |B.......@fk...`.|
00000130 21 dd 7e 91 32 e2 f5 a2 40 31 c9 5b d7 c2 4c 72 |!.~.2...@1.[..Lr|
00000140 cb e9 ed 69 dd 07 39 ac 6f c1 89 fd 5a cd 60 8b |...i..9.o...Z.`.|
00000150 31 01 88 d2 6a 46 6e 3a 79 68 ec 34 b9 37 66 6c |1...jFn:yh.4.7fl|
00000160 4c a3 0a cc c2 5c 23 33 08 4d d6 39 c6 1a 44 dd |L....\#3.M.9..D.|
00000170 a3 8a 32 99 39 c4 ba f4 51 30 a2 04 47 4b 71 d6 |..2.9...Q0..GKq.|
00000180 2e 2a 33 16 85 2e 8b 99 03 41 be 78 4a 29 03 43 |.*3......A.xJ).C|
00000190 be 6e 71 e8 b3 e2 05 0a 3c c8 19 cd da 1c 38 0b |.nq.....<.....8.|
000001a0 41 21 47 3a 63 0c fe e0 17 90 3d c1 d7 75 ba 68 |A!G:c.....=..u.h|
000001b0 e8 6a f4 c8 7c 94 fb 68 46 75 83 8e c5 67 00 fe |.j..|..hFu...g..|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 50 32 00 00 00 |...........P2...|
000001d0 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

egor123
April 18th, 2011, 05:46 PM
just in case i have a 2,4 Ghz processor and 1 gb ddr1 ram
i believe its more than enough:)
however the only thing i know about videoadapter is that has only 32 or 64 Mb memory itsef
sorry hope the code above helps

Quackers
April 18th, 2011, 06:55 PM
I see nothing wrong with the boot script output.
I can only suggest you try re-installing grub.
From the live cd/usb desktop open up a terminal and run the following commands, one line at a time, pressing enter after each line. Copy/paste is safer to use :wink:

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
Then if no errors are reported, please reboot. Please make a note of any error messages or grub prompts, if any.

egor123
April 18th, 2011, 07:21 PM
i did as you asked
no errors at all
thanks for all the suggestions and stuff
still i only get to see the command line where i cant really do anything myself

Quackers
April 18th, 2011, 07:23 PM
Ok, when you try to boot Ubuntu what are you seeing? You mention a command line, what does the final screen say exactly, please.

egor123
April 18th, 2011, 07:43 PM
ook lets see

the screen says:
Gnu Grub version 1.98-1ubuntu10

Minimal BASH-like line editing is supported. then it says that i might use TAB to know the possible commands or if i type it after any command i ll get what i can write as a command option

then theres written

grub> and here i can type

after pressing tab i get a huge list of commands uncluding stuff like file management, reboot and a various tests(like videotest) which dont work by the way or just dont show the result i dont know

Quackers
April 18th, 2011, 08:57 PM
Sorry for the delay. There's a thread round here somewhere by drs305 about booting from the grub prompt, but I can't find it, unfortunately.
If you try booting again and hold down the shift key, does a grub menu appear?

egor123
April 18th, 2011, 09:32 PM
ok thanks a lot!!
i ll search for it maybe some time later a really gotta go now
i ll post whether i solved the problem or not tomorrow)
thanks for all your advice)

Quackers
April 18th, 2011, 09:51 PM
You're welcome. Good luck :-)

egor123
April 18th, 2011, 10:00 PM
thank yoy for everything, ill answer you tomorrow after i find that thread you've been talking about)
thank you i ll write here tomorrow

Dutch70
April 18th, 2011, 11:08 PM
Maybe this is what you're looking for.

HOWTO: Boot & Install Ubuntu from the Grub Rescue Prompt (http://ubuntuforums.org/showthread.php?t=1599293)

egor123
April 19th, 2011, 07:32 PM
oh yeah i actually found it a little while ago
the thing is when i get to the step where i need to find the ubuntu iso file i always get error:out of disk when i try to see whats inside some of the directories

like:

ls (hd0,1)/home

and so on...
what should i do?

hwangche
April 23rd, 2011, 06:25 AM
I have the same problem too. I saw the post "unusual grub minimal bash-like line editing is supported, anyone can assist?" and I followed the solution there(quote below). Although when I ran the second line, it said it could read the file, but my problem was solved by just running the first line and reboot. I hope it'll solve yours too.


This is a very common problem with 10.04 as shown by the popularity of the wubi megathread. It also mentions a tool that you can use to access the virtual partition used by Wubi (this is why you can't find it because it's not a real partition). It's a file C:\ubuntu\disks\root.disk (change C: depending on the drive you installed on but it seems like C: from the ls output).

And PS that should probably be (hd0,msdos1)

So you can just enter:

linux /vmlinuz root=/dev/sda1 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /initrd.img
boot
And that should boot it. Then you can apply the Permanent Fix shown in the thread.

hwangche
April 23rd, 2011, 06:26 AM
I meant the computer said that I could NOT read the file when I ran the second line.