After some search, I didn't found exactly what my problem is, or at least I sould not relate it to any past questions I found.
Old setup
HDD with 2 partitions, grub booting ubuntu on one and win7 on the other. Everything went just fine.
New setup
One/two months ago I bought an SSD and I'm now writing this from its Win10. It has only this partition.
HDD got its Win7 partition formated but not the Ubuntu's. Problem is: when I try to boot (hotkey at the boot menu) from the HDD, it doesn't work anymore.
My understanding of the problem
I didn't wipe out the entire HDD contents, only the Win7 partition, so I thought even if Windows wouldn't boot anymore (obviously), Ubuntu would. Well and I don't think I got the knowledge to fix this up because I don't know if I can fix it as it is now or if I must wipe out the ubuntu partition and start over, or if I have to wipe grub from that drive (and I don't even know how to do this), lots of questions are popping!
What I want to learn
Okay now, the desired result is: Windows 10 booting from the SSD as it is now. Ubuntu booting from HDD partition #2 (if I recall the order number). HDD partition #1 serving as storage for Win10.
I don't care if boot process is either:
- From the HDD, like "pc turns on, hdd starts grub, I choose, grub does his things" or
- From boot hotkey, like "pc turns on, I press the boot device hotkey, choose drive, OS boots"
I just need it working as soon as possible. Thanks in advance.
Update: I managed to boot using the grub prompt, but I got to tty. Then as I found no problem there, I tried to reboot. When the Ubuntu logo (the loading screen) showed up was my last moment of happiness: it stopped there. Maybe something went wrong with video drivers, my video card or monitor?
fdisk -l output
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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xf4ca1ca3
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 1495039999 747416576 7 HPFS/NTFS/exFAT
/dev/sda3 1495042046 1953523711 229240833 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda5 1945526272 1953523711 3998720 82 Linux swap / Solaris
/dev/sda6 1495042048 1945526271 225242112 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x6597ec03
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 1026047 512000 7 HPFS/NTFS/exFAT
/dev/sdb2 1026048 234438655 116706304 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 8004 MB, 8004304896 bytes
255 heads, 63 sectors/track, 973 cylinders, total 15633408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x027e5a9a
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 15633407 7815680 c W95 FAT32 (LBA)
I would reinstall GRUB onto your HDD.
- Boot into liveUSB or liveCD
- Select "preview ubuntu" or find a way to get to the desktop w/o installing
- Open a terminal
- Run
lsblk
- Using the output of
lsblk
, get the disk of the HDD (either /dev/sda or /dev/sdb probably). - Run
grub-install /dev/sdX
where X is the letter seen previously - Restart
If you still cannot boot into ubuntu, follow the first answer on this post.
After this, you can mess with the partitions using GParted. Search askUbuntu for more info on that.
No comments:
Post a Comment