PDA

View Full Version : [ubuntu] Ubuntu 10.04 did not find my second HDD



napapon
March 8th, 2012, 06:23 AM
Hi,

I want to install Ubuntu on my second 3.5TB HDD along side Fedora 15. Booting from DVD to install
but Ubuntu did not find my second HDD only my first HDD with Win 7 which I do not want to touch.

My setup is not a typical dual boot system, I prefer selecting which HDD to boot from at the moment
I do not want to deal with Grub 2 etc, so I just went in to select which HDD I want to boot.
But now I want to dual-boot Ubuntu woth Core 15, please help.

thank so much.

darkod
March 8th, 2012, 11:53 AM
Boot into ubuntu live mode and run the boot info script from the link in my signature. It should show more details. Post the results as explained there.

napapon
March 8th, 2012, 03:45 PM
Here is the output from RESULTS.txt and thanks so much for your help.




ubuntu@ubuntu:~/Downloads$ more RESULTS.txt
Boot Info Script 0.60 from 17 May 2011


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

=> Grub Legacy0.97-71.fc15 is installed in the MBR of /dev/sda and looks at
sector 32666 on boot drive #1 for the stage2 file. A stage2 file is at
this location on /dev/sda. Stage2 looks on partition #1 for
/grub/grub.conf..

sda1: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/menu.lst /grub/grub.conf

sda2: __________________________________________________ ________________________

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

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

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 1,026,047 1,024,000 83 Linux
/dev/sda2 1,026,048 3,907,028,991 3,906,002,944 8e Linux LVM


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 c7b0dec6-ed95-455a-9458-535df2e915f8 ext4
/dev/sda2 MALeDA-0UBQ-bKOy-G05h-mfZz-YCDz-ko1qod LVM2_member

================================ Mount points: =================================
Device Mount_Point Type Options

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


============================= sda1/grub/grub.conf: =============================

--------------------------------------------------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_pompc-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.41.1-1.fc15.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.41.1-1.fc15.x86_64 ro root=/dev/mapper/vg_pompc-lv_r
oot rd_LVM_LV=vg_pompc/lv_root rd_LVM_LV=vg_pompc/lv_swap rd_NO_LUKS rd_NO_MD rd
_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.41.1-1.fc15.x86_64.img
title Fedora (2.6.40.6-0.fc15.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.40.6-0.fc15.x86_64 ro root=/dev/mapper/vg_pompc-lv_r
oot rd_LVM_LV=vg_pompc/lv_root rd_LVM_LV=vg_pompc/lv_swap rd_NO_LUKS rd_NO_MD rd
_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.40.6-0.fc15.x86_64.img
title Fedora (2.6.40.3-0.fc15.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.40.3-0.fc15.x86_64 ro root=/dev/mapper/vg_pompc-lv_r
oot rd_LVM_LV=vg_pompc/lv_root rd_LVM_LV=vg_pompc/lv_swap rd_NO_LUKS rd_NO_MD rd
_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.40.3-0.fc15.x86_64.img
title Other
rootnoverify (hd1,0)
chainloader +1
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

0.010255814 = 0.011012096 grub/grub.conf 2
0.010255814 = 0.011012096 grub/menu.lst 2
0.015691757 = 0.016848896 grub/stage2 1
0.085297585 = 0.091587584 initramfs-2.6.40.3-0.fc15.x86_64.img 4
0.089267731 = 0.095850496 initramfs-2.6.40.6-0.fc15.x86_64.img 5
0.062290192 = 0.066883584 initramfs-2.6.41.1-1.fc15.x86_64.img 2
0.009259224 = 0.009942016 initrd-plymouth.img 1
0.067175865 = 0.072129536 vmlinuz-2.6.40.3-0.fc15.x86_64 1
0.028364182 = 0.030455808 vmlinuz-2.6.40.6-0.fc15.x86_64 1
0.039890289 = 0.042831872 vmlinuz-2.6.41.1-1.fc15.x86_64 1

========= Devices which don't seem to have a corresponding hard drive: =========

sdb sdc sdd sde

napapon
March 8th, 2012, 03:51 PM
By the way, I disconnected my first HDD (win 7 ) when I executed results boot_info_script output.

napapon
March 8th, 2012, 04:08 PM
Here is another result when both HDD was on, this might be the configuration that I need to install
Ubuntu, please help.

Output fro boot_info_script as follows:


Boot Info Script 0.60 from 17 May 2011


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

=> Windows is installed in the MBR of /dev/sda.
=> Grub Legacy0.97-71.fc15 is installed in the MBR of /dev/sdb and looks at
sector 32666 on boot drive #1 for the stage2 file. A stage2 file is at
this location on /dev/sdb. Stage2 looks on partition #1 for
/grub/grub.conf..

sda1: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD

sda2: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe

sdb1: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/menu.lst /grub/grub.conf

sdb2: __________________________________________________ ________________________

File system: LVM2_member
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 1,250,260,991 1,250,054,144 7 NTFS / exFAT / HPFS


Drive: sdb __________________________________________________ ___________________

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 * 2,048 1,026,047 1,024,000 83 Linux
/dev/sdb2 1,026,048 3,907,028,991 3,906,002,944 8e Linux LVM


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 58C41A4DC41A2DAE ntfs System Reserved
/dev/sda2 4CD41C7AD41C690A ntfs
/dev/sdb1 c7b0dec6-ed95-455a-9458-535df2e915f8 ext4
/dev/sdb2 MALeDA-0UBQ-bKOy-G05h-mfZz-YCDz-ko1qod LVM2_member

================================ Mount points: =================================

Device Mount_Point Type Options

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

============================= sdb1/grub/grub.conf: =============================

--------------------------------------------------------------------------------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/mapper/vg_pompc-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sdb
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.41.1-1.fc15.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.41.1-1.fc15.x86_64 ro root=/dev/mapper/vg_pompc-lv_root rd_LVM_LV=vg_pompc/lv_root rd_LVM_LV=vg_pompc/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.41.1-1.fc15.x86_64.img
title Fedora (2.6.40.6-0.fc15.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.40.6-0.fc15.x86_64 ro root=/dev/mapper/vg_pompc-lv_root rd_LVM_LV=vg_pompc/lv_root rd_LVM_LV=vg_pompc/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.40.6-0.fc15.x86_64.img
title Fedora (2.6.40.3-0.fc15.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.40.3-0.fc15.x86_64 ro root=/dev/mapper/vg_pompc-lv_root rd_LVM_LV=vg_pompc/lv_root rd_LVM_LV=vg_pompc/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
initrd /initramfs-2.6.40.3-0.fc15.x86_64.img
title Other
rootnoverify (hd1,0)
chainloader +1
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)

0.010255814 = 0.011012096 grub/grub.conf 2
0.010255814 = 0.011012096 grub/menu.lst 2
0.015691757 = 0.016848896 grub/stage2 1
0.085297585 = 0.091587584 initramfs-2.6.40.3-0.fc15.x86_64.img 4
0.089267731 = 0.095850496 initramfs-2.6.40.6-0.fc15.x86_64.img 5
0.062290192 = 0.066883584 initramfs-2.6.41.1-1.fc15.x86_64.img 2
0.009259224 = 0.009942016 initrd-plymouth.img 1
0.067175865 = 0.072129536 vmlinuz-2.6.40.3-0.fc15.x86_64 1
0.028364182 = 0.030455808 vmlinuz-2.6.40.6-0.fc15.x86_64 1
0.039890289 = 0.042831872 vmlinuz-2.6.41.1-1.fc15.x86_64 1

========= Devices which don't seem to have a corresponding hard drive: =========

sdc sdd sde sdf

darkod
March 8th, 2012, 04:34 PM
You installed Fedora as LVM. That's why ubuntu can't detect it.

Do you plan to install ubuntu on the LVM too?

napapon
March 8th, 2012, 04:43 PM
I am not sure, please advice. I do not really know what I was doing in Fedora installation. What is the beast way.

darkod
March 8th, 2012, 04:56 PM
I don't want to sound harsh, but you need to be asking the questions before doing the install, not after.

In this situation, I really don't know what is best, or if it can be done. Usually I haven't seen two linux versions on the same LVM.
Also, to install ubuntu on LVM you need a separate /boot partition outside the LVM (like fedora has the sdb1 partition). But now you have no unpartitioned space to create one more small partition outside the LVM. And if you start shrinking the LVM who knows what might happen (although in theory it should be possible).

In theory you might be able to shrink sdb1 to half its current size, and use that space for ubuntu boot partition. If you want to go ahead with it.

napapon
March 8th, 2012, 05:11 PM
As I recall, using LVM is the only choice I have in order for Fedora to recognize my 2TB HDD and USB storage hard drive.

On my Fedora side, there are several software licenses that I purchased so do not just want to reinstall everything, my research might come to a halt which is undesirable.

Since I am not very good at Linux, I think the best I can do at this point is probably purchase a new HDD and install Ubuntu on it. Again I need Ubuntu because Fedora does not have libxview.so.3 library that I need
to run an important software for my work.

thanks

darkod
March 8th, 2012, 05:34 PM
Your 2TB hdd has a msdos partition table. If it had gpt partition table maybe it would have installed without LVM.

Yeah, in this case getting another disk might be the best way forward.

Another option is shrinking the win7 partition a little, depending how much space you need for ubuntu. But you also said you don't like touching the win7 disk too.

napapon
March 8th, 2012, 06:24 PM
thanks so much for your time.