Thread: Ubuntu alongside Windows 7
hello,
installed windows 7 on new pc, , wanted dual-boot ubuntu it. installed ubuntu alongside windows 7, can't boot windows anymore.
first there option boot windows 7 in grub boot menu, when tried boot windows 7, went grub menu. did bootrec /fixboot , bootrec /fixmbr, after grub menu didn't show anymore, , no os booted.
fixed grub couple of commands. grub working again , can boot in ubuntu, still can't boot in windows. when try boot in windows, there black screen white exclamation mark on it, waited 10 minuted nothing happens.
these results of boot_info_script
sda hdd, , sdb ssd windows 7 , ubuntu on it. use hdd store music , photos , such. (so can't format hdd right now)code:boot info script 0.60 17 may 2011 ============================= boot info summary: =============================== => grub2 (v1.99) installed in mbr of /dev/sda , looks @ sector 1 of same hard drive core.img. core.img @ location , uses embedded config file: --------------------------------------------------------------------------- search.fs_uuid fd29955b-f00c-4fae-b2d1-c2974d2101d0 root set prefix=($root)/boot/grub--------------------------------------------------- -----------------------------. => grub2 (v1.99) installed in mbr of /dev/sdb , looks @ sector 1 of same hard drive core.img. core.img @ location , looks (,msdos5)/boot/grub on drive. sda1: __________________________________________________________________________ file system: ntfs boot sector type: windows vista/7 boot sector info: no errors found in boot parameter block. operating system: boot files: sdb1: __________________________________________________________________________ file system: ntfs boot sector type: windows vista/7 boot sector info: no errors found in boot parameter block. ============================ drive/partition info: ============================= drive: sda _____________________________________________________________________ disk /dev/sda: 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 sector end sector # of sectors id system /dev/sda1 206,848 1,953,519,615 1,953,312,768 7 ntfs / exfat / hpfs drive: sdb _____________________________________________________________________ disk /dev/sdb: 64.0 gb, 64023257088 bytes 255 heads, 63 sectors/track, 7783 cylinders, total 125045424 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 85,723,959 85,721,912 7 ntfs / exfat / hpfs /dev/sdb2 85,725,182 125,044,735 39,319,554 5 extended /dev/sdb5 85,725,184 116,662,271 30,937,088 83 linux /dev/sdb6 116,664,320 125,044,735 8,380,416 82 linux swap / solaris "blkid" output: ________________________________________________________________ device uuid type label /dev/sda1 32dac81cdac7da6d ntfs games en media /dev/sdb1 6aa28335a2830533 ntfs /dev/sdb5 fd29955b-f00c-4fae-b2d1-c2974d2101d0 ext4 /dev/sdb6 95adb519-4501-42bb-af38-31198e06b06c swap ================================ mount points: ================================= device mount_point type options /dev/sdb1 /tmp/bootinfo0/sdb1 fuseblk (ro,nosuid,nodev,allow_other,blksize=4096) /dev/sdb5 / ext4 (rw,errors=remount-ro,commit=0) ========================== sdb1/grldr embedded menu: =========================== -------------------------------------------------------------------------------- =============================== stderr messages: =============================== unlzma: decoder error unlzma: decoder error ./boot_info_script.sh: line 1888: ( / 2 ) + 16 : syntax error: operand expected (error token "/ 2 ) + 16 ")
there seems stuff missing bootinfoscript output, of partitions of sdb, fstab , grub.cfg. there errors reported.
have 2 disks handy. have grub installed mbrs of both disks.
think idea keep mbr code of disk windows on windows mbr code. way can boot windows if want without recourse grub or ubuntu. recommend reinstalling grub mbr on hdd (sda) , use boot normally, , restore standard mbr on ssd using windows can boot windows directly if need to.
boot ubuntu
run sudo fdisk -l , double check drive letters. identify hdd. i'll assume still sda - if not, use sdb here or whetever called:
sudo grub-install /dev/sda
reboot , tell bios boot hdd. check ubuntu boots ok.
reboot , use windows cd restore standard mbr ssd. reboot ssd , make sure windows boots.
reboot , set bios boot priority boot hdd first, , ssd second. or cd first, hdd , ssd if prefer.
should grub boot menu , choice of ubuntu or windows. if tell bios boot ssd should go straight windows.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [SOLVED] Ubuntu alongside Windows 7
Ubuntu
Comments
Post a Comment