LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2015, 10:11 AM   #1
n0sferatu
LQ Newbie
 
Registered: May 2015
Posts: 1

Rep: Reputation: Disabled
Dual-boot grub boot-repair issue


Hello there,

I tried to install kali alongside windows and did it wrong probably. Now whenever I boot, grub loader sees only Kali and Free-DOS and doesn't see Windows.

I can still see the Windows partition in Kali and access the files however.
Searched online for a solution and saw that boot-repair could help me, however because some new update issue I cannot install it under Kali directly( see below link, it doesnt work for me).
askubuntu.com/questions/449818/cant-find-boot-repair-package-for-the-newest-version-of-ubuntu]

Long story short, I downloaded the iso version of boot-repair and tried to burn it onto a live-usb, but it doesn't load. All I get is a black screen with a terminal line running where I can't do anything.
I burned the iso using the terminal and the command below.
sudo dd bs=4M if=file.iso of=/dev/sdc
I burned the iso using unetbootin a couple of times and the same issue.


Any ideas? am I doing something wrong? How can I burn the iso disk to a live USB to run boot-repair? Or any other alternatives?

PS: first time linux user, I have no idea what am I doing so please be patient with me.





This is my output for running sfdisk -l.

Code:
sfdisk -l

Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+    118     119-    955836    c  W95 FAT32 (LBA)
/dev/sda2      59654   60801-   1148-   9215829    c  W95 FAT32 (LBA)
/dev/sda3        119+  59653   59535- 478214340    f  W95 Ext'd (LBA)
/dev/sda4          0       -       0          0    0  Empty
/dev/sda5        119+  51030   50912- 408950091+   7  HPFS/NTFS/exFAT
/dev/sda6      58934+  59653     720-   5783368+  82  Linux swap / Solaris
/dev/sda7      51031+  58933    7903-  63479131   83  Linux
		start: (c,h,s) expected (1023,254,63) found (855,54,32)
		end: (c,h,s) expected (1023,254,63) found (565,254,63)

Disk /dev/sdb: 1020 cylinders, 240 heads, 62 sectors/track
Warning: The partition table looks like it was made
  for C/H/S=*/104/54 (instead of 1020/240/62).
For this listing I'll assume that geometry.
Units = cylinders of 2875392 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1   *      0+   2704-   2705-   7592960    b  W95 FAT32
		start: (c,h,s) expected (0,37,51) found (0,32,33)
		end: (c,h,s) expected (1023,103,54) found (945,103,54)
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
 
Old 05-13-2015, 05:30 PM   #2
guub
LQ Newbie
 
Registered: Dec 2014
Posts: 4

Rep: Reputation: Disabled
If you have one, try using your windows disk/iso to boot and repair your windows install, then use your kali install disk live to reinstall grub.
 
Old 05-13-2015, 07:01 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,715

Rep: Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120Reputation: 2120
kali is a forensics system - hardly what I'd recommend for a first time user.
Being Debian based you should be able to simply run this from a terminal to get the grub cfg file rebuilt to include Windows (may need root/sudo). No need for boot-repair - which often doesn't anyway
Code:
update-grub
As for the liveCD, I'd guess the iso is bad - but I didn't see a way to verify it. The dd command you used should be ok for a hydrid iso.

Last edited by syg00; 05-13-2015 at 07:08 PM. Reason: typo, and added comment on the iso
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LInux Mint 17 KDE Dual Boot With Win7, 2 separate Drives, Keep having 2 repair grub. zarathustra674 Linux Mint 6 08-29-2014 02:10 AM
Win 8.1 / Kubuntu 13.10 Dual Boot fault (with Boot-Info URL from Boot Repair) renzanel Linux - Laptop and Netbook 2 02-05-2014 01:23 PM
Grub dual boot issue jnav Linux - Newbie 15 08-21-2008 02:29 PM
GRUB repair on dual boot system NickTheBubble Linux - Newbie 2 10-07-2004 01:06 PM
Grub dual boot issue simvan Linux - Newbie 8 06-04-2004 04:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration