LinuxQuestions.org
Help answer threads with 0 replies.
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 03-14-2012, 01:42 PM   #1
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Rep: Reputation: Disabled
Can't boot Windows 7 after Slackware install


I (probably stupidly) didn't install lilo in a Windows 7 boot manager friendly way and now when I try to boot Windows it tries to boot to recovery. Any pointers on fixing this?
 
Old 03-14-2012, 02:42 PM   #2
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
Pointer -> Win7 DVD, and have it automagically restore the MBR.
You won't be able to boot into slackware afterwards, but you can boot into in with a SlackDVD, install lilo to the root partition, and add 'linux' to the win7 bootmenu using the 512bytes method discribed here ( http://alien.slackbook.org/blog/addi...ws7-boot-menu/ )

goodluck!
 
1 members found this post helpful.
Old 03-14-2012, 02:44 PM   #3
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sjampoo View Post
Pointer -> Win7 DVD, and have it automagically restore the MBR.
You won't be able to boot into slackware afterwards, but you can boot into in with a SlackDVD, install lilo to the root partition, and add 'linux' to the win7 bootmenu using the 512bytes method discribed here ( http://alien.slackbook.org/blog/addi...ws7-boot-menu/ )

goodluck!
Problem is I don't have a Win7 DVD... probably should have thought about that before I went ahead with the install. Was hoping not to have to run to Staples and buy DVDs... slack install was the last one on the spindle

Guess I don't get to be that lazy today haha
 
Old 03-14-2012, 02:47 PM   #4
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
PS: I used a different how-to found on the interwebs, to add slackware(linux) to the win7 bootmenu on my ThinkPad, where Win7 is pre-installed and I have no recovery disks.
I would like to note this one 'thing': the 512 bytes you copy to 'linux.bin' so you can boot with the Win7 bootmanager: These 512 bytes change when you change something in lilo.conf and run lilo again!
(I altered the lilo - splashscreen delay, added compact and ran lilo, and promptly couldn't boot into slackware again,. I was puzzled, but sorted thing out in the end by making a new copy of those 512 bytes)
 
Old 03-14-2012, 02:49 PM   #5
sjampoo
Member
 
Registered: Jan 2009
Location: Oosterbeek, The Netherlands
Distribution: Desk and Lap: Slackware13.1 64
Posts: 203
Blog Entries: 4

Rep: Reputation: 27
Quote:
Originally Posted by J1NKL3 View Post
Problem is I don't have a Win7 DVD... probably should have thought about that before I went ahead with the install. Was hoping not to have to run to Staples and buy DVDs... slack install was the last one on the spindle

Guess I don't get to be that lazy today haha
Doesn't Win7 repair the bootmanager in 'restore'/'recovery' mode? I guess ( if you have another computer /w internet at hand ) that a usb-stick could be transformed in a win7 rescue apparatus.
 
Old 03-14-2012, 02:54 PM   #6
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 768

Rep: Reputation: 92
I have Win7 booting from Lilo without any issues. Can you c&p your /etc/lilo.conf here.
 
Old 03-14-2012, 03:11 PM   #7
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by vdemuth View Post
I have Win7 booting from Lilo without any issues. Can you c&p your /etc/lilo.conf here.
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and 
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
#vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
  label = Windows
  table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/root
  label = Linux
  read-only
# Linux bootable partition config ends
 
Old 03-14-2012, 04:29 PM   #8
kr4ey
Member
 
Registered: May 2007
Location: FL
Posts: 58

Rep: Reputation: 17
You can make a recovery disk in Windows 7. Here is a tutorial. http://forums.techarena.in/guides-tutorials/1114725.htm
 
Old 03-14-2012, 05:25 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,230

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Not much help if the OP can't get to Windoze.
Often the booting to recovery is just a matter of pointing to the vendor OEM partition. Try seeing if you have 2 partitions with boot code in it - or just try sda2.

Of course, if Windoze actually tries to boot and goes to recovery mode, that's a whole different matter.
 
Old 03-14-2012, 05:54 PM   #10
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Not much help if the OP can't get to Windoze.
Often the booting to recovery is just a matter of pointing to the vendor OEM partition. Try seeing if you have 2 partitions with boot code in it - or just try sda2.

Of course, if Windoze actually tries to boot and goes to recovery mode, that's a whole different matter.
I'm pretty sure it's supposed to be sda2 but when I switch it to that it gives me a Windows Boot Manager error


Attempting to make a Win7 USB recovery right now... if that doesn't work I guess time to buy more DVDs and pray haha... Just need Windows for Football Manager
 
Old 03-14-2012, 08:55 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,230

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Ugh. That sounds like you might have started the (OEM) Recovery. This generally replaces the whole kit and kaboodle if allowed to procede to completion.

I'd reckon sda2 is correct, but you might actually need to recover it from the USB. M$ofts' technet site has some good doco on what's available from the recovery centre.
 
Old 03-15-2012, 01:32 AM   #12
J1NKL3
Member
 
Registered: Mar 2012
Distribution: Slackware64-current
Posts: 77

Original Poster
Rep: Reputation: Disabled
Managed to get Windows booting again with a bootable USB... now to get linux booting without the rescue dvd with sjampoo's post... thanks guys!
 
Old 03-15-2012, 01:35 AM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,230

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
I would suggest you go get EasyBCD (freebie) if you want to use the Win7 loader to chainload to Slack. Much simpler.
 
Old 03-15-2012, 02:13 AM   #14
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,220

Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by syg00 View Post
I would suggest you go get EasyBCD (freebie) if you want to use the Win7 loader to chainload to Slack. Much simpler.
+1 on this. This is what I do and I now prefer it, keeps the windows boot manager in tact and you can simply chainload lilo if you installed it to your root block.
 
Old 03-15-2012, 04:13 PM   #15
Martinus2u
Member
 
Registered: Apr 2010
Distribution: Slackware
Posts: 345

Rep: Reputation: 56
what's all this hooha about? As already noted by J1NKL3, simply add the following stanza to lilo.conf and call lilo (assuming your Windows partition is /dev/sda1).

other = /dev/sda1
label = Windows
table = /dev/sda
 
  


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
Want to use Windows Boot Loader - Install to Boot Sector of Linux Partition? Xenarios Linux - Newbie 7 07-30-2010 03:41 AM
How do I install Slackware to dual-boot with Windows XP? tin Slackware 9 06-20-2010 12:05 PM
[SOLVED] Slackware won't boot in dual boot with windows 7... aryn07 Slackware 9 01-22-2010 08:56 AM
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM


All times are GMT -5. The time now is 11:41 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