PDA

View Full Version : [SOLVED] Can't Load Ubuntu After Installing Win XP



judoka1113
July 4th, 2010, 10:06 AM
I had to erase a swap partition on a hardrive that has ubuntu in order to install windows xp on another hardrive. After I did it win XP loads on both hadrives. How do I get to Ubuntu and how can I make another swap without having to reinstall the whole ubuntu?

Rubi1200
July 4th, 2010, 10:27 AM
Hi,
in order for us to help you please do the following:

Boot the computer with an Ubuntu CD (or any live distro) choosing to try live mode not install.

Click on the link at the bottom of my post.

Follow the instructions there and post the results back here.

We will then see what can be done to help you resolve this.

judoka1113
July 4th, 2010, 05:05 PM
I'm sorry, I don't know how to use code tags ( it says something about symbol#, Itried it but it did nothing) so ijust am going to cut/paste the results.txt file

Ok, here are the results:
Boot Info Script 0.55 dated February 15th, 2010

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

=> Windows is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM

sdb1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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 1,426,085,887 1,426,083,840 83 Linux
/dev/sda2 * 1,426,090,050 1,426,298,894 208,845 7 HPFS/NTFS


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 63 204,800,399 204,800,337 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 7fea34b1-c226-43f2-8a9d-1360cfb6a57f ext4
/dev/sda2 F4D8F6D0D8F6905A ntfs
/dev/sda: PTTYPE="dos"
/dev/sdb1 EA40DA0F40D9E27D ntfs
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
error: /dev/sdf: No medium found

============================ "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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
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-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
linux /boot/vmlinuz-2.6.32-23-generic-pae root=UUID=7fea34b1-c226-43f2-8a9d-1360cfb6a57f ro quiet splash
initrd /boot/initrd.img-2.6.32-23-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-23-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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
echo 'Loading Linux 2.6.32-23-generic-pae ...'
linux /boot/vmlinuz-2.6.32-23-generic-pae root=UUID=7fea34b1-c226-43f2-8a9d-1360cfb6a57f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-23-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=7fea34b1-c226-43f2-8a9d-1360cfb6a57f ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-22-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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
echo 'Loading Linux 2.6.32-22-generic-pae ...'
linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=7fea34b1-c226-43f2-8a9d-1360cfb6a57f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
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=7fea34b1-c226-43f2-8a9d-1360cfb6a57f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=e7c124e0-f4b4-42b2-87fb-6233b55337c7 none swap sw 0 0

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


169.8GB: boot/grub/core.img
398.2GB: boot/grub/grub.cfg
169.8GB: boot/initrd.img-2.6.32-22-generic-pae
3.0GB: boot/initrd.img-2.6.32-23-generic-pae
169.7GB: boot/vmlinuz-2.6.32-22-generic-pae
169.9GB: boot/vmlinuz-2.6.32-23-generic-pae
3.0GB: initrd.img
169.8GB: initrd.img.old
169.9GB: vmlinuz
169.7GB: vmlinuz.old

================================ sda2/boot.ini: ================================

[boot loader]
timeout=1
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
=======Devices which don't seem to have a corresponding hard drive==============

sdc sdd sde sdf

darkod
July 4th, 2010, 05:10 PM
I had to erase a swap partition on a hardrive that has ubuntu in order to install windows xp on another hardrive. After I did it win XP loads on both hadrives. How do I get to Ubuntu and how can I make another swap without having to reinstall the whole ubuntu?

Deleting a partition on one hdd has nothing to do with installing an OS to another hdd. You shouldn't needed to delete the swap partition.

And you didn't post the content of the results file. Open the file and copy-paste the content of it, including it in CODE tags by hitting the # button in the toolbar above with the text selected.

judoka1113
July 4th, 2010, 05:27 PM
it wouldn't let me continue to install windows xp unless i included a partition of at least 8 MB in the other hard-drive. I guess is windows way of making sure that regular joe doesn't use any other operation system but theirs.
And i copy/pasted the info from my results.txt file in the previous post, but i'll try to follow your instructions and do it again; however my toolbar doesn't have a # tag.
#

Boot Info Script 0.55 dated February 15th, 2010

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

=> Windows is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM

sdb1: __________________________________________________ _______________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs:

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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 1,426,085,887 1,426,083,840 83 Linux
/dev/sda2 * 1,426,090,050 1,426,298,894 208,845 7 HPFS/NTFS


Drive: sdb ___________________ __________________________________________________ ___

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sdb1 * 63 204,800,399 204,800,337 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 7fea34b1-c226-43f2-8a9d-1360cfb6a57f ext4
/dev/sda2 F4D8F6D0D8F6905A ntfs
/dev/sda: PTTYPE="dos"
/dev/sdb1 EA40DA0F40D9E27D ntfs
/dev/sdb: PTTYPE="dos"
error: /dev/sdc: No medium found
error: /dev/sdd: No medium found
error: /dev/sde: No medium found
error: /dev/sdf: No medium found

============================ "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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
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-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
linux /boot/vmlinuz-2.6.32-23-generic-pae root=UUID=7fea34b1-c226-43f2-8a9d-1360cfb6a57f ro quiet splash
initrd /boot/initrd.img-2.6.32-23-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-23-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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
echo 'Loading Linux 2.6.32-23-generic-pae ...'
linux /boot/vmlinuz-2.6.32-23-generic-pae root=UUID=7fea34b1-c226-43f2-8a9d-1360cfb6a57f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-23-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=7fea34b1-c226-43f2-8a9d-1360cfb6a57f ro quiet splash
initrd /boot/initrd.img-2.6.32-22-generic-pae
}
menuentry 'Ubuntu, with Linux 2.6.32-22-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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
echo 'Loading Linux 2.6.32-22-generic-pae ...'
linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=7fea34b1-c226-43f2-8a9d-1360cfb6a57f ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-22-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 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7fea34b1-c226-43f2-8a9d-1360cfb6a57f
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=7fea34b1-c226-43f2-8a9d-1360cfb6a57f / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=e7c124e0-f4b4-42b2-87fb-6233b55337c7 none swap sw 0 0

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


169.8GB: boot/grub/core.img
398.2GB: boot/grub/grub.cfg
169.8GB: boot/initrd.img-2.6.32-22-generic-pae
3.0GB: boot/initrd.img-2.6.32-23-generic-pae
169.7GB: boot/vmlinuz-2.6.32-22-generic-pae
169.9GB: boot/vmlinuz-2.6.32-23-generic-pae
3.0GB: initrd.img
169.8GB: initrd.img.old
169.9GB: vmlinuz
169.7GB: vmlinuz.old

================================ sda2/boot.ini: ================================

[boot loader]
timeout=1
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
=======Devices which don't seem to have a corresponding hard drive==============

sdc sdd sde sdf

darkod
July 4th, 2010, 05:33 PM
It didn't let you because you started installing XP and left the 750GB disk to be first in boot order. Windows needs a ntfs partition with the boot flag set on the boot disk. There wasn't any there.
You should have set the 1TB disk as first in boot order and XP boot files would have gone there. Now they are on the ubuntu disk, and for example if you remove it later, XP won't boot.

darkod
July 4th, 2010, 05:37 PM
Anyway, depending whether you want to sort out the XP boot files location or not, you can easily get your ubuntu to boot again. From ubuntu live mode just do:

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt/ /dev/sda

That will reinstall grub2 on /dev/sda and you can boot ubuntu. Because XP was installed later, after booting ubuntu you need to do:

sudo update-grub

to find it and add it to the boot menu.

Right now the swap partition /dev/sda5 doesn't exist so there will be error on each boot. If you decide to sort out the XP boot files issue, you can create another swap partition again on /dev/sda and make it mount as swap.

judoka1113
July 4th, 2010, 05:42 PM
Ohh, OK thx for the info. Do I just do $sudo mkswap /dev/sda2 and get to Linux? I don't care about win XP I can reinstall it later besides my Internet doesn't work in xp because win xp sees no drivers for my ethernet card. So if i don't care about booting xp can i do $sudo mkswap /dev/sda2 or is it better to do another command since i erased my original linux swap that was about 20 GB in size and now is just unpartitioned space on my 750GB drive that id like to use for my linux swap partition.

darkod
July 4th, 2010, 05:58 PM
Ohh, OK thx for the info. Do I just do $sudo mkswap /dev/sda2 and get to Linux? I don't care about win XP I can reinstall it later besides my Internet doesn't work in xp because win xp sees no drivers for my ethernet card. So if i don't care about booting xp can i do $sudo mkswap /dev/sda2 or is it better to do another command since i erased my original linux swap that was about 20 GB in size and now is just unpartitioned space on my 750GB drive that id like to use for my linux swap partition.

I'm not sure about the mkswap command and what it does. You could boot ubuntu as I described above, then open Gparted (install it if necessary) and simply delete the current ntfs sda2. Then create a new swap area sda2 taking all of the 20GB.

After that check the sda2 UUID with:

sudo blkid

and replace the current UUID for the swap partition in /etc/fstab with the new UUID. You can edit fstab with:

gksudo gedit /etc/fstab

but be very careful when editing it. Making wrong changes can make the system unbootable.

judoka1113
July 4th, 2010, 06:05 PM
OK thanx a lot. Just one final question. How do I erase the sda2 partition?

darkod
July 4th, 2010, 06:10 PM
OK thanx a lot. Just one final question. How do I erase the sda2 partition?

I told you, Gparted. The first time you need to install it with:

sudo apt-get install gparted

After that it will be in System-Administration. I prefer it for managing partitions. After you select to delete sda2 you will need to hit the green button in Gparted to execute the command. Only after that it will show the space as unallocated. Then you can create swap area from the unallocated space.

judoka1113
July 4th, 2010, 06:51 PM
I did what you said but now I got a disk error and it just tells me to restart. Waht i'm going to try to do is to install Ubuntu on a 1 TB drive and hopefully that will fix the 750 GB drive also.

darkod
July 4th, 2010, 06:54 PM
I did what you said but now I got a disk error and it just tells me to restart. Waht i'm going to try to do is to install Ubuntu on a 1 TB drive and hopefully that will fix the 750 GB drive also.

No it won't. If you want to reinstall, you better do it on the 750GB disk again, otherwise you end up with two ubuntus. If you don't have any data to save from your current ubuntu, just reinstall, it might be easiest for you.

But adding the swap partition like that should have worked. I don't know what you did.

And next time be careful before deleting partitions, don't do it just because the windows installer said so. Better ask here first.

judoka1113
July 4th, 2010, 07:27 PM
During the reinstallation process I saw that 750 GB drive was set to "don't use this partition" and when i tried to mark it "/" so i can load it it said that its going to be formated in order to do that. I don't want to loose my 750 GB ubuntu files so i selected the 1 TB drive to be "/" but I don't want to keep ubuntu on that drive and plan to erase it later, i guess my question is: is there a way to switch "/" on 750 GB drive form the 1TB drive after I install ubuntu on the1TB drive because i don't want to lose the ability to get to the ubuntu installed on 750 GB drive after I erase the 1 TB drive.

darkod
July 4th, 2010, 07:34 PM
I'm not aure you can do it as simple as that. That's why I said not to do a second install because in effect they will be two separate independent installs. You don't gain anything by making the second install. You are only getting into more complications.

judoka1113
July 4th, 2010, 08:08 PM
OK, I just installed ubuntu on 1 TB drive, got into 750GB drive Backed-up all my files, and now I'm going to replace the 1TB ubuntu with win XP. Thanks for your help darkod, I really appreciate it.

judoka1113
July 4th, 2010, 08:13 PM
when i tried to reinstall win xp i get the stupid *** STOP 0x0000007B ( 0xF78DA63C, 0xC0000034, 0x00000000, 0x00000000) message