LinuxQuestions.org
Visit Jeremy's Blog.
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 04-20-2008, 12:22 PM   #1
David819
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Rep: Reputation: 0
Installed Linux, Now Vista wont boot


Ok, I've done a dual boot instalation of Backtrack2 onto my vista laptop by following this video:

ww.offensive-security.com/movies/dualboot/dualboot.html

My problem is that once I select Vista at my boot menu, it goes to that screen where it says Windows is booting and shows the little scrolling bar at the bottom of the screen, and it hangs there. Forever.
When I reboot, I get the "Windows failed to start" menu, and I can choose "Launch startup Repair (recommended)" or "Start Windows Normally"
Obviously, starting windows normally gets me to the same hanging screen.
Running the startup repair tells me to insert my windows installation disk. It also says

Status: 0xc000000f
Info: The boot selection failed because a required device is inaccessible.

I was hoping to find some Windows Safe Mode option, but all I am able to access are those two options.

My lilo.conf is this:

lba32
boot = /dev/sda
prompt
timeout = 1200
change-rules
reset
vga=791
#Windows bootable partition config begins
other = /dev/sda1
label = Vista
table = /dev/sda
#Windows bootable partition config ends
#Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda4
label = BackTrack2
read-only
#Linux bootable partition config ends

My fdisk -l :

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

---leaving out the start end and blocks

/dev/sda1* ID:7 HPFS/NTFS
/dev/sda2 ID:83 Linux
/dev/sda3 ID:82 Linux swap
/dev/sda4 ID:83 Linux

If anyone needs any more info, please let me know and I'll post it. Thank you in advance for any help.
 
Old 04-20-2008, 05:50 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986
Hi,

Did you use 'qtparted' on your Vista installation?

The Video clearly states that it is for M$ WinXP. If you want to do a install on the boxen with Vista, you should use the M$ tools on the HDD. Not parted or other derivatives since they can and usually cause problems with a Vista install.

For Vista ;

Code:
Pick Start > right click computer > Pick Manage >Pick Disk Management >Pick drive >Pick Action
You should 'defrag' the Vista drive before you attempt to resize the drive. Once the drive partition is defragged you can go ahead and resize.

You could look at 'BackTrack v2.0 and MS Vista, Create Dual Boot Guide'. This a good guide.

This link and others are available from 'Slackware-Links' .
 
Old 04-21-2008, 09:18 AM   #3
David819
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Hmmm.... The plot thickens

Thank you SO much for your fast response. I was excited about trying the install instructions in the link you posted. Unfortunately it seems that I might have trouble getting Vista back on my machine. When I boot the System Restore cd it says "windows is loading files..." while a progress bar scrolls across the screen, then shows that mini "Microsoft Corporation" progress bar. Once it has passed this point, I get a black screen, and that's all she wrote. Any thoughts?
 
Old 04-21-2008, 09:27 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986Reputation: 1986
Hi,

Did you try the recovery method with the Vista CD?
 
Old 04-21-2008, 10:16 AM   #5
David819
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
well.....

Vista came preinstalled with my laptop (Presario f750). They don't ship with a restore cd, you have to go into vista and create your own set. Several days ago while trying to set up linux I was having issues with partitioning....and you can probably guess what happened. So I used the restore cd that day, and it brought me all the way back to square one, like I had just opened the computer. But now the cd doesn't get past the initial "Windows is loading files". I just get that ominous black screen.
 
Old 04-21-2008, 10:19 AM   #6
David819
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Maybe somehow the partitions are messing with the restoration? The partitions were completely messed up before though, and it fixed it just fine. When I used the restore the other day, my symptoms were: I turn on the computer and it says something like "Err2Err3" and that's it. Nothing else happened. That's why I'm surprised the restore isn't working now. It worked beautifully the other day. Unless me messing with the boot screwed it up?
 
Old 04-21-2008, 10:31 AM   #7
jus71n742
Member
 
Registered: Apr 2008
Distribution: Ubuntu 8.04 64bit/ 32bit, FreeBSD 8
Posts: 185

Rep: Reputation: 30
my guess is you are going to have to go to killdisk or something along those lines and completely wipe your HD clean and then reinstall vista and use ...ahh I think it is gparted( I have dual booted 2 comps with Vista and had trouble out of both getting the proper set up, none out of XP yet.) if you have AIM, MSN, or Yahoo Mess IM me and I will see what I can do to help
 
Old 04-21-2008, 12:56 PM   #8
David819
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
I DID IT! Sorry jus71n742 I didn't read your post in time. First I tried booting from Backtrack 2 CD and running fdisk to delete all partitions and create /dev/sda1 with an ntfs file system. When I tried booting again to the Vista restore dvd, instead of getting the black screen, I got the black screen with an old school cursor in the center. Then it stopped. So I booted Backtrack up again and this time used fdisk to just delete all partitions on /dev/sda. So that when I run

fdisk /dev/sda [enter]
p [enter]

if gives me the specs on the drive, but lists NO partitions.
I inserted the Vista boot dvd again, and now I'm rolling. It is installing on my laptop as I type this. Once I get Vista installed I will try the backtrack installation you suggested onebuck. Thanks guys, I'll post with the results later.
 
Old 04-21-2008, 01:40 PM   #9
mike_mck2
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Slackware
Posts: 41

Rep: Reputation: 1
LOL...could put this "problem" down as another advantage to using Linux

J/K..
 
Old 04-21-2008, 02:32 PM   #10
David819
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Or, you could say My Linux LiveCD saved Vista
 
Old 07-29-2008, 07:15 PM   #11
FreakinZigZag
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Congrats David

I have the same laptop model, F750 us Compaq Presario.
Sadly I still havent made the change into Linux. I got
a live CD (Ubuntu) and I didn't get internet connection.
I was wondering if you did get the conneciton and which
distro did you use?
 
Old 07-29-2008, 11:15 PM   #12
jus71n742
Member
 
Registered: Apr 2008
Distribution: Ubuntu 8.04 64bit/ 32bit, FreeBSD 8
Posts: 185

Rep: Reputation: 30
Quote:
Originally Posted by FreakinZigZag View Post
I have the same laptop model, F750 us Compaq Presario.
Sadly I still havent made the change into Linux. I got
a live CD (Ubuntu) and I didn't get internet connection.
I was wondering if you did get the conneciton and which
distro did you use?

better question is which Distro are YOU using ZigZag? then we can help you a little quicker and more efficiently.
 
Old 08-01-2008, 10:50 AM   #13
David819
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Zigzag, at the time I made the original post I was trying to install Backtrack (bad choice for first linux distro). After deciding against Backtrack I went with Ubuntu Hardy Heron. I initially installed the i386 version, and after much tweaking (since there is almost no info for the F750 out there) I finally got everything working the way I wanted. Then I realized there was a 64bit version and started from scratch again, determined to have the best. Well, despite loading Hardy 64bit on 4 different partitions and trying different methods of gaining wireless use on each one (all the while using Vista on the main partition to keep my job from screeching to a halt), I gave up on 64 bit. I just can't figure it out for this comp. I was able to get linux to see the different wireless networks, but never connect. Sadly I haven't tried to get linux to work since. Been busy with work and life. BUT, i386 does work. I don't believe you will be able to do it from the live disc though, because you need to use ndiswrapper to make it all work. Again, I've only done this with Hardy Heron, so if you're not using this distro, I'm not too confident that I can help, but let me know if this is what you're using, and if you are able to install instead of live boot. I'll gladly do what I can to help you get it going. I'm not posting instructions now, because they are even more long winded than this post, and I don't know if my instructions will aply to what you are trying to accomplish.
 
Old 08-01-2008, 10:51 AM   #14
David819
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
On a side note, ironically, my wireless was up and running quickly with Backtrack. Go figure...
 
Old 08-01-2008, 01:21 PM   #15
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
Probably the best way to avoid Vista being a dick, and all this hassle*, is to install GRUB or LiLo to the Linux partition's root superblock instead of the MBR, copy that partition's boot sector to a file, and use it to allow Vista to chainload GRUB or LiLo, instead of the other way around.

Once you install a distro and put the bootloader on the root superblock, your computer will just boot Vista as if it's the only OS installed. You can either:
-boot a LiveCD and use dd to copy the partition's boot sector.**
or
-boot into Windows and use bootpart to do the same (assuming Vista will run it, I couldn't say if it will or not)

Then you put the .bin file containing the boot sector of your Linux partition on Windows' drive C:, and edit boot.ini to add it to the boot options like so:
C:\nameyougavethebootsectorfile.bin="Appropriate Label For The Boot Menu"

I've only done this with XP, Vista may have some differences. I don't even know if it uses ntldr anymore or not.. YMMV.

*actually can't help but think the BEST way is to just not use Vista...
** dd if=/dev/partitionwhereGRUBorLiLois of=filename.bin bs=512 count=1
 
  


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
Fedora and Vista Dual Boot (vista installed first) firekid1239 Linux - Newbie 10 05-04-2008 09:35 PM
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 07:21 PM
Installed SUSE now Vista won't boot - mountpoint removed when not properly shutdown Retrofill Linux - Newbie 22 10-18-2007 07:36 PM
Adding Vista to an already installed Linux machine (dual boot) dongmin Linux - General 2 10-06-2006 07:49 PM


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