111958 answered but not resolved

Asked by Randy Schilling on 2010-05-24

I got a response to my question, 111958, but if there is a resolution of the problem there, well, I don't understand it.
I'm writing this question having gotten online using my 8.04 live cd in its "try without installing" mode.
I don't understand the current status of my system. (I go over the steps that got me here below.)
Is there is something worth salvaging or should I start from scratch?
Starting from scratch for me would mean: reinstall XP on my master drive, use my 8.04 live cd to install
8.04 then from there upgrade to 10.04.

The journey began with XP on my master drive and 8.04 working just fine on my second hard drive.
My first attempt to upgrade 8.04 to 10.04, several days ago, using update-manager as described at www.ubuntu.co/getubuntu/upgrading, failed because I was unaware of a problem with my internet connection.

That corrected, I reinstalled 8.04 using a live cd then repeated the uprade to 10.04. This went better than the first try. There
were no errror messsages this time. Nevertheless, I struggled with several problems with the 10.04 upgrade. Those problems
are as follows.

1. XP was no longer an option under the grub boot loader nor did it show up in Nautilus. I opened Disk Utility and obtained the following information:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                            /dev/sda /dev/sdb
usage -(dash) filesystem
partition type Linux(0x83) Linux(0x83)
partition flags bootable -(dash)
type (blank) ext3 (version 1.0)
smart status Disk has a few bad sectors healthy

It showed a 4 part partition for /dev/sda: 154gb RAID, 6.2gb extended. 6.2gb swap, and free.
It showed a 4 part partition for /dev/sdb: 154gb ext3, 6.2gb extended. 6.2gb swap, and free.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     1a. I don't know what the information on /dev/sda means but it sure doesn't look good to me. No sign of XP!
     1b. 10.04 release notes say that its file system is ext4. So why does ext3 appear under /dev/sdb?

2. The new 10.04 installation booted up sparodically. Usually I had to manully turn the system on then off several times
before
     b

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2010-05-24
Last reply:
2010-05-24
Randy Schilling (rchilling) said : #1

(continuing) ...several times before booting up without a stall.

3. I could not mount either my master cd/dvd drive or my slave cd/dvd drive. However, one time, out of many attempt, 10.04
     responded to and played a music cd.

4. One time 10.04 came up but did not find my printer; other than that time, there were no printer problems.

This is where I submitted 111958.

Following the suggestion of the person who helped me with 111958 I booted up using my XP recovery disk and used the fixmbr.
The response to that command was that the new mbr had been successfully written.
But booting the system led nowhere, leaving the system locked up with the message: "error loading operating system".

As I said previously, I'm writing this question having gotten online using my 8.04 live cd in its "try without installing" mode.
I'm not sure of the state of my system and I don't know if there is anything worth salvaging.

I opened 8.04's Partition Editor and it displayed essentially the same inforation in the table above.

If I have to wipe out both my drives, before doing so. there is one text file that I'd like to salvage. But again, I can't seem to
mount either cd/dvd drive.

Lastly, I'm grateful to the person who tried to help me. If things didn't go the way he/she expected then it was, no doubt, becsause I screwed up. I just wish he/she didn't abandon me.

Many thanks to anyone who in good faith takes time to help me learn this stuff. - thanks and best wishes - Randy

peter b (b1pete) said : #2

Randy, no offense, your posts are v long; I will try with your help to get you back on track based on what I best understand your problems are.

- first, your pc has a boot problem; to understand what's there now - the current situation -pls boot with the ubuntu live CD (preferably the 10.04 lucid release) and in a terminal run

sudo fdisk -l

command (l above is L lower case); pls post - copy/paste- the output of this command here so I can see it.

- secondly, you upgraded from 804 to 1004; without entering into details what the improvements are in 1004 pls be aware that the v problem you're having, booting/the boot procedure/routine in 1004 is totally different than 804 - the latest release uses grub2 while 804 uses grub legacy. if you're interested to know in more detail this diff then pls read

http://ubuntuforums.org/showthread.php?t=1195275&page=49

good, solid, fail proof practice thought me that - always - is better/highly recommended to leave alone a good functioning os (in your case 804); new releases fresh install on new partitions are a sure way to always have something to fall back on in case something unexpected happens.

but first, let's see what the above command tells us; we'll continue after that.

peter b (b1pete) said : #3

the link on my last post is the last page of that forum thread; pls use/start with the first page at

http://ubuntuforums.org/showthread.php?t=1195275

peter b (b1pete) said : #4

Randy, checking the link above I noticed that you posted the output of command above there - I hope is you, same Randy Schilling, the output THERE is

I entered "sudo fdisk -f", logged in under Ubuntu 8.04 live cd in "try without installing mode". Got this"

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x17921791

Device Boot Start End Blocks Id System
/dev/sda1 * 1 18702 150215680 83 Linux
/dev/sda2 18702 19453 6031361 5 Extended
/dev/sda5 18702 19453 6031360 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00045f69

Device Boot Start End Blocks Id System
/dev/sdb1 1 18702 150223783+ 83 Linux
/dev/sdb2 18703 19452 6024375 5 Extended
/dev/sdb5 18703 19452 6024343+ 82 Linux swap / Solaris
Randy Schilling is online now Reply With Quote

pls confirm,

Randy Schilling (rchilling) said : #5

I'm not sure where you want me to post. This the output of the fdisk commancd (same as your last email):

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x17921791
I entered "sud fdisk -l", logged in under 8.04 live cd, and got this.

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 18702 150215680 83 Linux
/dev/sda2 18702 19453 6031361 5 Extended
/dev/sda5 18702 19453 6031360 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00045f69

   Device Boot Start End Blocks Id System
/dev/sdb1 1 18702 150223783+ 83 Linux
/dev/sdb2 18703 19452 6024375 5 Extended
/dev/sdb5 18703 19452 6024343+ 82 Linux swap / Solaris

peter b (b1pete) said : #6

until confirmed, Randy, I can tell you that your pc has two HDD of 160GB each and that sda has a linux installed and appears as bootable while sdb (the second HDD) has also a linux installed, not bootable .

there is no windows XP installation/partition present.

you can try to recover the existing linux installs by following the procedure outlined on

https://help.ubuntu.com/community/Grub2#Reinstalling%20from%20LiveCD

under heading Reinstalling from LiveCD , METHOD 3 - CHROOT. caution pls, applicable to 1004 release.

if you want to have a dual boot, XP and ubuntu, I'd recommend to get XP installed first.

Randy Schilling (rchilling) said : #7

Please let me know where I should be replying. Here or at
http://ubuntuforums.org/showthread.php?t=1195275.

peter b (b1pete) said : #8

Randy, pls, all posts concerning this question that you asked must be on this site and this thread as requested .....'pls post - copy/paste- the output of this command here so I can see it.'....

the link/url that you used to post the output was offered to you ...'if you're interested to know in more detail this diff then pls read'...

http://ubuntuforums.org/showthread.php?t=1195275

Randy Schilling (rchilling) said : #9

Yes, that's my setup. Two 160 gb hard disks.
I don't understand when or how I lost XP on sda.

I found the section at your web reference of booting form a live cd. Is a live 8.04 cd OK for this?

Randy Schilling (rchilling) said : #10

Here is the fdisk output.

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x17921791

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 18702 150215680 83 Linux
/dev/sda2 18702 19453 6031361 5 Extended
/dev/sda5 18702 19453 6031360 82 Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00045f69

   Device Boot Start End Blocks Id System
/dev/sdb1 1 18702 150223783+ 83 Linux
/dev/sdb2 18703 19452 6024375 5 Extended
/dev/sdb5 18703 19452 6024343+ 82 Linux swap / Solaris
ubuntu@ubuntu:~$

peter b (b1pete) said : #11

I understand that you twice upgraded to 1004 and assume that both installs are 1004;

however, a first quick answer is as mentioned on the link ....'Please note that the Live CD must be the same as the system you are fixing - either 32-bit or 64-bit (if not then the chroot will fail). '..... obviously this condition MUST be satisfied

second condition, as stated .....'If you aren't sure, run

df -Th. Look for the correct disk size and ext3 or ext4 format. '....

now, my assumption above is based on what you said ....'I reinstalled 8.04 using a live cd then repeated the upgrade to 10.04.'....so the output of df -Th command more than likely will be that sda1 and sdb1 are ext3 (I do not believe that 804 used ext4) .

conclusion, based on above, NO, you MUST have a live CD 1004 release.

Randy Schilling (rchilling) said : #12

I'm currently up under 8.04, booted from an 8.04 live cd in its "try without install" mode.

I'm burning the file ubuntu-10.04-desktop-i386.iso to a cd as I write this. I downloaded this iso file from
www.ubuntu.com/getubuntu/upgrading.

To clarify, I never installed 10.04 from a live cd. I obtained 10.04 by upgrading from 8.04 using Update Manager as explained
under "Uprgrade from 8.04 to 10.04. Network Upgrade for Ubuntu Desktops" at www.ubuntu.com/getubuntu/upgrading.

Here is the output of the df -Th command entered at the command prompt: ubuntu@ubuntu:~$ df -Th
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Filesystem Type Size Used Avail Use% Mounted on
tmpfs tmpfs 1005M 16M 989M 2% /lib/modules/2.6.24-16-generic/volatile
tmpfs tmpfs 1005M 16M 989M 2% /lib/modules/2.6.24-16-generic/volatile
varrun tmpfs 1005M 100K 1005M 1% /var/run
varlock tmpfs 1005M 0 1005M 0% /var/lock
udev tmpfs 1005M 76K 1005M 1% /dev
devshm tmpfs 1005M 12K 1005M 1% /dev/shm
tmpfs tmpfs 1005M 52K 1005M 1% /tmp
gvfs-fuse-daemon
fuse.gvfs-fuse-daemon 1005M 50M 956M 5% /home/ubuntu/.gvfs
/dev/sdb1 ext3 143G 6.2G 129G 5% /media/disk
/dev/scd1 iso9660 188M 188M 0 100% /media/CDROM
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I guess this shows that ext3 is the /dev/sdb1 file system.
I think also that the sdb drive contains my 10.04 upgrade so I'm suprised
to see ext3 here when, according to 10.04 release notes, ext4 is the default 10.04 file system.

I don' know how to use the df -Th command to obtain the analogous information about the sda drive.
However 8.04's Partition Editor shows sda's file system as "unknown".

The burn of the 10.04 iso file is complete and I'm ready to continue with a 10.04 live cd.

Thanks - Randy

peter b (b1pete) said : #13

more than likely your 1004 upgrade from 804 was on sdb

sda for some reason during your repeated upgrades and tries to get your pc running again got 'mangled up' and, for sure if you say that it shows 'unknown', had XP on it.

I'm quite skeptical whether you'll be able to salvage sdb1 upgraded linux under these circumstances; but give it a try.

failing this I'm afraid that if you want to have a dual boot XP-ubuntu , you'll have to reinstall XP first to the first partition of first HDD/sda then reinstall 1004 either to new partitions on sda or sdb.

peter b (b1pete) said : #14

I'm calling off for the day. I'll see tomorrow how things go.

Randy Schilling (rchilling) said : #15

OK. I believe I'm on the same page with you. Thanks.
If you don't mind, I want to keep this thread open until I work through your recommendations.
Many thanks - Randy

peter b (b1pete) said : #16

no problem, that's ok.

Can you help with this problem?

Provide an answer of your own, or ask Randy Schilling for more information if necessary.

To post a message you must log in.