Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 26 Apr 2017, 13:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Dual booting Windowses with grub [Solved]
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
davids45


Joined: 26 Nov 2006
Posts: 926
Location: Chatswood, NSW

PostPosted: Mon 02 May 2016, 03:36    Post subject:  Dual booting Windowses with grub [Solved]
Subject description: That's 2 Tiny Windows as well as many Puppies
 

G'day,
I'm blaming cthisbear for my concern/predicament Wink .

His post:
http://www.murga-linux.com/puppy/viewtopic.php?p=900679#900679
introduced "tiny" versions of old Windows OSs which he'd found very useful.

So, as I had an old desktop with a 500GB hard-drive in the attic, I thought I'd give the 'tinies' a quick try. The hard-drive already had a large collection of older Pups in full and frugal versions, so to set up Windows, I had to sacrifice the 2 fulls in two primary partitions and format these to ntfs (about 11GB each one).

Tiny7 went in OK but, of course, wanted the computer all to itself. But by re-installing a Pup to another partition, I could recover multi-booting with grub4dos.

I've now installed a TinyXP into the other ntfs primary ('D' drive). TinyXP has now taken over booting, although it does recognise the C drive where Tiny7 is, and I can run programs with XP I loaded to the Tiny7 drive.

Has anyone an idea, if not knowledge, of the best way to run grub or grub4dos so I can boot my choice of either Windows (7 on sda1 or XP on sda2) or any of the existing Pups?

I'm proposing to re-re-install a Pup and during that process, install again something to the mbr and then if needed, edit the menu.lst to include both Windows as well as the Pups (e.g. run one for when I need to fix a Windows, I guess). I'm hoping (h0,0) and (h0,1) will do the trick separating XP and 7, but advice is welcomed.

I admit that the few MS-based programs I still use do run well under Wine, so I really don't have a good reason to be doing this, but "what the heck" (is there a "shrugs shoulders" emoticon?).

David S.

Last edited by davids45 on Sat 14 May 2016, 19:40; edited 1 time in total
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 1971
Location: Cradle of Humankind

PostPosted: Mon 02 May 2016, 03:44    Post subject:  

I have always installed my Windows operating system(s) first, then made frugal installs of my Puppies (just copying the necessary files for each puppy to its own subfolder) and then ran Grub4Dos to setup the boot. At one stage I had Windows 98, Windows XP and a lot of frugally installed Puppies set up for multi-booting as mentioned above. BTW - you need to install Windows in sequence from older to newer otherwise you will probably run into trouble. Windows 98 was installed on my first partition and windows xp on the second but sequently with windows XP installed after 98. Also, I would recommend to select the option not to overwrite the existing mbr when you install grub4dos, it's safer.
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 926
Location: Chatswood, NSW

PostPosted: Mon 02 May 2016, 18:54    Post subject: Wininstall order
Subject description: and other naughtiness.
 

G'day nic007,

Thanks for the encouraging feedback.

I've just about done everything you suggest .... but backwards Embarassed Laughing .

I started with an already Pups-full hard-drive and kept these as much as possible.

Because tiny7 was easier to find than tinyXP, I had tiny7 first, so installed it first, before I had a tinyXP iso.

I then wrote to the mbr when re-installing a Pup to be able to recover dual booting for the Pups and tiny7.

Handily, when installing tinyXP, I was offered as its install option, the empty ntfs partition I'd made for it (sda2 = 'D drive') so it did not overwrite the existing tiny7 in sda1.

If, with your old system of 98 & XP, grub4dos could separate these Windows versions, I'll go ahead and re-re-install a Pup and after again writing to the mbr, let grub4dos set up a multiOS boot system.

Luckily, I don't need this computer or hard-drive, so if it all goes belly-up, I'm not worried. And I can then have more fun trying to fix it all again Wink .

David S.
Back to top
View user's profile Send private message 
nic007


Joined: 13 Nov 2011
Posts: 1971
Location: Cradle of Humankind

PostPosted: Tue 03 May 2016, 02:58    Post subject: Re: Wininstall order
Subject description: and other naughtiness.
 

davids45 wrote:
G'day nic007,

Thanks for the encouraging feedback.

I've just about done everything you suggest .... but backwards Embarassed Laughing .

I started with an already Pups-full hard-drive and kept these as much as possible.

Because tiny7 was easier to find than tinyXP, I had tiny7 first, so installed it first, before I had a tinyXP iso.

I then wrote to the mbr when re-installing a Pup to be able to recover dual booting for the Pups and tiny7.

Handily, when installing tinyXP, I was offered as its install option, the empty ntfs partition I'd made for it (sda2 = 'D drive') so it did not overwrite the existing tiny7 in sda1.

If, with your old system of 98 & XP, grub4dos could separate these Windows versions, I'll go ahead and re-re-install a Pup and after again writing to the mbr, let grub4dos set up a multiOS boot system.

Luckily, I don't need this computer or hard-drive, so if it all goes belly-up, I'm not worried. And I can then have more fun trying to fix it all again Wink .

David S.


Yes, it seperates the Windows versions as your latest Windows installment should set a multi-boot option for the windows versions in its boot configuration file. So, in your grub4dos menu you will find an entry for Windows, if you click that the windows multi-boot screen will appear with the option to run your choice of Windows operating system. Do it in the sequence as proposed and you should not have a problem. Once you get it to work I may supply some more tricks... Wink
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 926
Location: Chatswood, NSW

PostPosted: Wed 04 May 2016, 19:14    Post subject: Windows Dual OSs
Subject description: slight test delay
 

G'day nic007,

Thanks for the follow-up and explanation for the Windows single grub4dos menu.lst entry.

I saw that in the menu.lst and thought it was not what I wanted for two Windows OSs so tried modifying the menu.lst to have an entry for each Win OS. But my attempt failed and the error message suggested I may need to re-install the Windows in the right order and put XP on 'C' and Tiny7 on 'D' Embarassed .

I should have a bit more time to revisit this once freed from grandchildren minding - their parents are 'stuck' in Bali where the airstrip is undergoing "emergency repairs" (the asphalt is peeling?) and the airport is presently closed Rolling Eyes .

David S.
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 926
Location: Chatswood, NSW

PostPosted: Sat 14 May 2016, 20:54    Post subject: Booting to Tiny7 or XPsp3Lite by Grub
Subject description: On a heavily Puppied hard-drive
 

G'day,

Firstly, thanks again to nic007 for his good advice Smile , and I suppose, to cthisbear for first leading me astray into this 'project' Twisted Evil Very Happy .

I now have an old 500GB hard-drive in an oldish desktop that I can boot to either Windows Tiny7 or TinyXP (properly XPsp3Lite) or any of its original ten or so Full Pups or any of its more than twenty Frugal Pups.

When I did the Windows versions' installs in the correct sequence and to the correct partitions (refer to nic007's post), I had a drive that would start with a boot screen to select either a 'Former version of Windows' (XP) or Windows7.

I had created two ntfs partitions as sda1 and sda2 of 11GB each. At the end, they were about 30% used for the particular OS.

I first installed tiny XP from a LiveCD, made from a downloaded XPsp3Lite iso, to sda1. Having no idea whether to leave the CD in or out during this multi-stop/start install, I ended up with two XP versions (WINDOWS and WINDOWS0 in the C:/Programs directory Shocked ). Surprisingly to me, both get offered at booting and the chosen XP will then run Very Happy .

With sda1(C:/) having an XP that booted, I next installed Tiny7 from another LiveCD to sda2 - the install process offered this pick-a-partition option. Now I could start up to boot either XPs on sda1 or Tiny7 on sda2 (D:/).

The longest step Sad was getting a Grub or Grub4Dos to take over booting so I could get back to having all the Pups equally accessible.

First go with grub4dos from a Puppy LiveCD where I said write to the mbr was OK. Failed Embarassed and I needed to re-install the two Tinies. This was not such a big deal as these take so little time installing compared to 'kosher' versions - but still not as quick as a Pup install Wink .

From a convenient MultiPup CD, I tried again installing grub4dos from a recent TahrPup and a Slacko and this time not to write anything to the mbr. During each attempt, I saw a file-missing message box, and at the end, nothing was working as far as multi-booting the hard-drive. I did however get a good menu.lst with all the Pups from this repeated futility.

I finally tried Grub from an older pemasu Wheezy Pup off my MultiPup disk, installing Grub into an existing Full Pup (to partition sda6, setting the boot flag to here in GParted) and this worked!

To the very brief menu.lst Grub gave me from this install (a Windows or a Pup!), I added all the old Pup boot entries from a previous grub4dos menu.lst to the grub list.

As nic007 noted earlier, to boot a Windows, I click Grub's one-and-only Windows listing which then goes into the multi-Windows options from the Tiny7 installation - XP or Tiny7.

To utilise the large (~320GB) ext2 data partition on the hard-drive already shared by all the Pups, I have installed a recent version of Ext2Fsd.exe to both XP and Tiny7. And finally, the two Windows programs that I use regularly to both XP and Tiny7.

Of course, those two programs already run very well in wine in all my Pups, so all this "Tiny" effort was in one sense, just a waste of time.

And I'll soon put this old computer and its elaborate booting back in the attic. Oh well, back to the house chores....

David S.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0462s ][ Queries: 11 (0.0057s) ][ GZIP on ]