tech_girl
July 6th, 2011, 09:00 AM
I recently got myself a Lenovo x120e and have installed Win7 Ultimate (32-bit) and Ubuntu 11.04 AMD64 respectively. However I do not see GRUB menu instead I boot automatically into Windows. This is my first time dual booting Windows and Linux. I have read some of the dual booting guides but I think I have missed a step which resulted in automatic booting into Win7.
I first installed Win 7 Ultimate in a 30GB partition, and then using a live cd, I installed Ubuntu with boot, root, home and swap partitions.And I did not shrink the volume in my Win7 partition as mentioned in the guide though. Not sure if this will cause any errors or if this is why its not showing the grub menu.
I will need some help in trying to fix it. I have used the BIS from meierfra to generate the output.
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub on this drive.
=> Grub Legacy (v0.97) is installed in the MBR of /dev/sdc and looks on the
same drive in partition #2 for /boot/grub/stage2 and /boot/grub/menu.lst.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
============================ Drive/Partition Info: =============================
Drive: sda __________________________________________________ ___________________
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 61,941,759 61,734,912 7 NTFS / exFAT / HPFS
/dev/sda3 61,941,760 62,918,655 976,896 83 Linux
/dev/sda4 62,920,702 625,141,759 562,221,058 5 Extended
/dev/sda5 62,920,704 101,980,159 39,059,456 83 Linux
/dev/sda6 101,982,208 613,423,103 511,440,896 83 Linux
/dev/sda7 613,425,152 625,141,759 11,716,608 82 Linux swap / Solaris
Drive: sdb __________________________________________________ ___________________
Disk /dev/sdb: 8168 MB, 8168931328 bytes
22 heads, 52 sectors/track, 13946 cylinders, total 15954944 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 15,953,919 15,951,872 83 Linux
Drive: sdc __________________________________________________ ___________________
Disk /dev/sdc: 16.4 GB, 16437477376 bytes
255 heads, 63 sectors/track, 1998 cylinders, total 32104448 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/sdc1 63 32,097,869 32,097,807 b W95 FAT32
"blkid" output: __________________________________________________ ______________
Device UUID TYPE LABEL
/dev/sda1 32209F9B209F649F ntfs System Reserved
/dev/sda2 9E1AAEB51AAE8A3B ntfs
/dev/sda3 e8e0df10-ef7e-4fa7-ab4f-e6c6c570732d ext2
/dev/sda5 2b1d15bb-9d9a-41ff-99ea-12befe82bc97 ext4
/dev/sda6 59c1e536-2efa-4508-8407-ea26be365bcc ext4
/dev/sda7 01c58c5c-e565-4132-a438-acf2bd7bc95d swap
/dev/sdb1 1f6c7299-5126-49b0-82d6-98d9f8367e1e ext3
/dev/sdc1 4AB7-69CF vfat PORTABLE
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /tmp/BootInfo0/sda1 fuseblk (ro,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb1 / ext3 (rw,errors=remount-ro,commit=600)
/dev/sdc1 /media/PORTABLE vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, shortname=mixed,dmask=0077,utf8=1,showexec,flush)
========================== sda1/grldr embedded menu: ===========================
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
unlzma: Decoder error
./boot_info_script.sh: line 1888: ( / 2 ) + 16 : syntax error: operand expected (error token is "/ 2 ) + 16 ")
Also I would like some advice on what is the best partitioning scheme? My current partitioning is as follows (as I went through the ubuntu installation wizard:
first partition system(primary),
second partition Win7 (primary),
third partition boot ext 2 (primary)
fourth partition /root ext4 (logical)
fifth partition /home ext 4
sixth partition /swap ext 4
Would be grateful if someone can point me in the right direction. :)
I first installed Win 7 Ultimate in a 30GB partition, and then using a live cd, I installed Ubuntu with boot, root, home and swap partitions.And I did not shrink the volume in my Win7 partition as mentioned in the guide though. Not sure if this will cause any errors or if this is why its not showing the grub menu.
I will need some help in trying to fix it. I have used the BIS from meierfra to generate the output.
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub on this drive.
=> Grub Legacy (v0.97) is installed in the MBR of /dev/sdc and looks on the
same drive in partition #2 for /boot/grub/stage2 and /boot/grub/menu.lst.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
============================ Drive/Partition Info: =============================
Drive: sda __________________________________________________ ___________________
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 61,941,759 61,734,912 7 NTFS / exFAT / HPFS
/dev/sda3 61,941,760 62,918,655 976,896 83 Linux
/dev/sda4 62,920,702 625,141,759 562,221,058 5 Extended
/dev/sda5 62,920,704 101,980,159 39,059,456 83 Linux
/dev/sda6 101,982,208 613,423,103 511,440,896 83 Linux
/dev/sda7 613,425,152 625,141,759 11,716,608 82 Linux swap / Solaris
Drive: sdb __________________________________________________ ___________________
Disk /dev/sdb: 8168 MB, 8168931328 bytes
22 heads, 52 sectors/track, 13946 cylinders, total 15954944 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 15,953,919 15,951,872 83 Linux
Drive: sdc __________________________________________________ ___________________
Disk /dev/sdc: 16.4 GB, 16437477376 bytes
255 heads, 63 sectors/track, 1998 cylinders, total 32104448 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/sdc1 63 32,097,869 32,097,807 b W95 FAT32
"blkid" output: __________________________________________________ ______________
Device UUID TYPE LABEL
/dev/sda1 32209F9B209F649F ntfs System Reserved
/dev/sda2 9E1AAEB51AAE8A3B ntfs
/dev/sda3 e8e0df10-ef7e-4fa7-ab4f-e6c6c570732d ext2
/dev/sda5 2b1d15bb-9d9a-41ff-99ea-12befe82bc97 ext4
/dev/sda6 59c1e536-2efa-4508-8407-ea26be365bcc ext4
/dev/sda7 01c58c5c-e565-4132-a438-acf2bd7bc95d swap
/dev/sdb1 1f6c7299-5126-49b0-82d6-98d9f8367e1e ext3
/dev/sdc1 4AB7-69CF vfat PORTABLE
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /tmp/BootInfo0/sda1 fuseblk (ro,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb1 / ext3 (rw,errors=remount-ro,commit=600)
/dev/sdc1 /media/PORTABLE vfat (rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, shortname=mixed,dmask=0077,utf8=1,showexec,flush)
========================== sda1/grldr embedded menu: ===========================
--------------------------------------------------------------------------------
=============================== StdErr Messages: ===============================
unlzma: Decoder error
./boot_info_script.sh: line 1888: ( / 2 ) + 16 : syntax error: operand expected (error token is "/ 2 ) + 16 ")
Also I would like some advice on what is the best partitioning scheme? My current partitioning is as follows (as I went through the ubuntu installation wizard:
first partition system(primary),
second partition Win7 (primary),
third partition boot ext 2 (primary)
fourth partition /root ext4 (logical)
fifth partition /home ext 4
sixth partition /swap ext 4
Would be grateful if someone can point me in the right direction. :)