PDA

View Full Version : [ubuntu] Need help with ubuntu



Skipopis
March 7th, 2010, 07:56 PM
I was running Ubuntu 9.04 without a hitch along came 9.10 and I upgraded and it started crashing and now it wont boot (Grub error 17). I am currently running Ubuntu 9.04 off of the disc, I have attempted to reinstall 9.04 and I get to the partition menu once in awhile and it does not recognize that i have 9.10 on my drive and will not let me overwrite. Can anyone help please.

raymondh
March 7th, 2010, 08:07 PM
I was running Ubuntu 9.04 without a hitch along came 9.10 and I upgraded and it started crashing and now it wont boot (Grub error 17). I am currently running Ubuntu 9.04 off of the disc, I have attempted to reinstall 9.04 and I get to the partition menu once in awhile and it does not recognize that i have 9.10 on my drive and will not let me overwrite. Can anyone help please.

Since you plan to 'overwrite' karmic ..... a possible workaround is to use gparted from the liveCD to erase the existing ubuntu root and swap partitions leaving them unallocated. When you install, you hence install in largest, unallocated space.

Identify the existing root and swap (or /home). You can use terminal and


sudo fdisk -l

to help you identify which is ubuntu/linux.

As always, have a working/tested back-up of your files.

Regards.

Skipopis
March 8th, 2010, 06:15 AM
Input/output error during read on /dev/sda


Read the terminal after sudo gparted

Skipopis
March 9th, 2010, 10:08 PM
I'm still looking for help, please and thank-you

presence1960
March 9th, 2010, 11:52 PM
Let's get a better look at your setup & boot process. Boot the Ubuntu Live CD/USB. Choose "try ubuntu without any changes", when 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. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

See here (http://bootinfoscript.sourceforge.net/) for more info on the boot info script.

Above link is to meierfra's Sourceforge web page.

Skipopis
March 10th, 2010, 05:55 AM
Boot Info Script 0.55 dated February 15th, 2010

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


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

no valid partition table found
blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs

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

Device Mount_Point Type Options

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



Sorry I don't see a # sign on any toolbar

presence1960
March 10th, 2010, 01:34 PM
You don't have a valid partition table on your hard disk. If you have nothing to lose on that disk boot the Live CD and choose "try ubuntu without any changes", when the desktop loads open a terminal and run
gksu gparted Under Device in the menu bar select create partition table. Select an msdos type partition table. Click the green check mark to apply. Now try installing.

On the other hand if you have data you need on that disk you will have to use testdisk to try to recover your partition table and the data. I am not too familiar with that process. if this is what you need to do I would start a new thread with the title including the words "need to recover data using testdisk" to attract the attention of those who can help.

Skipopis
March 10th, 2010, 05:32 PM
I don't see this message anywhere on the desktop. "try ubuntu without any changes

kansasnoob
March 10th, 2010, 06:01 PM
From the live desktop try:


sudo fdisk /dev/sda

Then type w.

Skipopis
March 10th, 2010, 06:38 PM
Unable to open /dev/sda


is what my terminal reads

kansasnoob
March 10th, 2010, 07:59 PM
I would then only know to use TestDisk but I'm hardly proficient with it. Look here:

http://www.howtoforge.com/data_recovery_with_testdisk

Follow the steps for "Now let's assume we have lost our partition table and want to restore it." Basically you want to:


[ Quit ] [Search! ] [ Write ]
Write partition structure to disk

presence1960
March 10th, 2010, 08:34 PM
I don't see this message anywhere on the desktop. "try ubuntu without any changes

It does not say it on the desktop- read carefully again:


You don't have a valid partition table on your hard disk. If you have nothing to lose on that disk boot the Live CD and choose "try ubuntu without any changes",

Then when the desktop loads do this:


when the desktop loads open a terminal and run
gksu gparted

Skipopis
March 12th, 2010, 12:49 AM
Still looking for the right answer, thanx for the help thus far.

presence1960
March 12th, 2010, 12:57 AM
Still looking for the right answer, thanx for the help thus far.

you were given the right answer: you either need to use testdisk to recover your partition table (kansasnoob) or create a new partition table by booting the Live CD and using gparted (presence1960)

Skipopis
March 13th, 2010, 03:14 PM
Thanx for the help thus far, but I'm still not in the clear can anyone get me up and running.

Skipopis
March 13th, 2010, 03:40 PM
gparted wont work says I need to b root, testdisk don't work can't burn disk when I'm using only drive to run live disk

Skipopis
March 13th, 2010, 03:50 PM
gksu gparted, terminal opens gparted says no devices detected