LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-26-2012, 12:57 PM   #1
IainL
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Rep: Reputation: Disabled
Dual boot issues


Here is my situation. I shrunk my windows 7 partition to make room for slackware, I then used unetbootin to install slackware 14 32bit on the rest of the hard drive. After that I setup lilo modifying the boot thing (can't remember its name), booting into slackware works perfectly but I have the missing bootMGR error when trying to boot into windows from lilo so I think I messed up my windows settings in lilo.

I believe that to fix this I should use a windows 7 disk to boot from and then repair the bootmgr with it, and then when I'm in windows I can use some kind of boot manager to setup up dual booting. However, I'm at uni and I have no discs to burn and only one 32gb usb stick. Ideally I would like to setup my usb stick to have slackware 14 image and windows 7 image on it, is this possible and how would I go about it? I think it would be dangerous to remove slackware from the usb and just have windows because if i mess it up I might be locked out of both systems, correct me if I'm wrong though.

Any help is much appreciated .
 
Old 11-26-2012, 01:07 PM   #2
Grischuna
Member
 
Registered: Mar 2009
Distribution: Slackware64 14.0 multilib
Posts: 44

Rep: Reputation: 0
Quote:
Originally Posted by IainL View Post
Here is my situation. I shrunk my windows 7 partition to make room for slackware, I then used unetbootin to install slackware 14 32bit on the rest of the hard drive. After that I setup lilo modifying the boot thing (can't remember its name), booting into slackware works perfectly but I have the missing bootMGR error when trying to boot into windows from lilo so I think I messed up my windows settings in lilo.

Any help is much appreciated .
Possibly you are trying to boot from the wrong Windows7 partition. Windows 7 comes normally with two partition. A small boot and the normal root partition. So just try to edit again your lilo.conf and instead of /dev/sda2 set /dev/sda1 as the boot partition for Windows7.

Hope it helps.

Cheers,
 
Old 11-26-2012, 01:29 PM   #3
IainL
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I made that mistake then fixed it earlier today but made no difference. Could it have caused problems because during install I set it to sda2? Your input is much appreciated
 
Old 11-26-2012, 04:42 PM   #4
IainL
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Would it be at all possible to repair the bootmgr from within slackware? I've trawled google for a bit but haven't found anything about that.
 
Old 11-26-2012, 04:45 PM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Could you please (as root) execute the command
Code:
fdisk -l
and post the output here. Also please post the output of
Code:
df -h
and the part of your lilo.conf where Windows is configured.

Markus
 
Old 11-26-2012, 04:50 PM   #6
IainL
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
This is the output from the commands and the relative section of lilo.conf, your help is much appreciated

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   850745343   425269248    7  HPFS/NTFS/exFAT
/dev/sda3       850745344   950749968    50002312+  83  Linux
/dev/sda4       950749969   970750893    10000462+  82  Linux swap

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda3        47G  9.3G   36G  21% /
tmpfs           1.6G     0  1.6G   0% /dev/shm
/dev/sda2       406G  239G  167G  59% /media/ECE6380DE637D694

  other = /dev/sda1
  label = Windows7
  table = /dev/sda
 
Old 11-26-2012, 04:56 PM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
This seems to be correct, the small Windows-partition is the bootpartition and has to be set in lilo.conf.

Don't forget to run lilo (as root) after you changed anything in lilo.conf!

Normally when you made a mistake, lilo will show an errormessage when you run it. So: what happens when you exectute
Code:
lilo
Markus
 
1 members found this post helpful.
Old 11-26-2012, 04:58 PM   #8
IainL
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Ah, i haven't ran the lilo command at all, lets restart and see what happens haha. I'll report back shortly
 
Old 11-26-2012, 05:07 PM   #9
IainL
LQ Newbie
 
Registered: Nov 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
GOOD NEWS! everything works perfectly, didn't realise it would be so easy I can't thank you enough
 
Old 11-26-2012, 05:09 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,974

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I'm happy to read that you've solved your problem. Please don't forget to use the thread-tools and mark this thread as solved.

Markus
 
  


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
trying to dual boot but need help with wireless issues MasterJimmy Linux - Newbie 2 05-04-2010 04:48 PM
dual boot issues with XP C-Sniper Slackware 2 12-10-2006 11:24 AM
Dual Boot Issues megadeth Slackware 9 04-04-2005 06:53 PM
Dual Boot XP and RH9 issues Aken Red Hat 5 01-13-2005 09:34 PM
dual boot issues ferretmanus Linux - Newbie 5 12-10-2003 09:09 PM


All times are GMT -5. The time now is 12:53 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration