| Subject | : | Dual-Booting eCS 2.1R and WinXP |
| Author | : | Terry tgindy@yahoo.com |
| Date | : | 01 Nov, 2006 on 17:06 |
| I am about to graduate from an eCS 1.0 install on a solo computer. Hard drives have been collected and I am about to install my first dual boot with OS/2 & windows kernels since the days of a 2 gig partitioned hard drive with OS/2 2.1 and Windows 95. The eCS IDE Channel => eComStation 1.2R (and the soon eCS 2.0) will be HPFS-installed on a 60 gig hard drive (as primary) with a 200 gig hard drive (as secondary). Thus, the eCS install can be within a primary partition on the 60 gig without a logical partition. The 200 gig hard drive provides the expansion flexibility for SVista, multimedia, etc. The WinXP IDE Channel => An operational Win XP is on a partitioned FAT 32 hard drive (for eCS file access) with 160 gigs (as primary). WinXP is a "necessary occupational evil" due to financial planning software apps. Question #1: What bootloader tips are appropriate? Question #2: What dual-booting tricks would you offer? Question #3: Does it matter whether WinXP is on IDE1 or IDE2? Question #4: Will there be any LVM problems to recognize the WinXP hard drive? In-depth dual-booting really hasn't been addressed here for some time, and should be useful for many eComStation users. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | flywheel flywheel@worldonline.dk |
| Date | : | 01 Nov, 2006 on 19:17 |
| Personally I use Air-boot, it is a nice and easy ti use platforms neutral bootmanager that installs in the MBR. AFAIR XP still needs a primary partition and it is smart to install XP as the first OS - otherwise the socalled intelligent installer of XP might mess things up a bit, but thats it. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | tex |
| Date | : | 01 Nov, 2006 on 19:46 |
| I agree with the above. However, I usually install eCS on an extended logical partition. I have seen it mentioned in the newsgroups that more than one primary paritition can confuse WinXP. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 22 Feb, 2007 on 12:13 |
| Hello: I have a similar question. I want to install eCs 1.2R and WindowsXP in the same hard disk. I tried two ways and both give problems. 1º Install eCs first, and then, WindowsXP. When eCs install is finished, I mark as startable (with LVM) an empty primary partition to install WinXP there. Then, I begin Windows install with no problem but, at the first re-initialization in the Windows install process, Windows doesen't boot, and does not continue with the installation process. The only solution is to create a new partition with the Windows installation tool, so Windows overwrites boot sectors or mbr. Then, it boots and installs properly. But from then, LVM detects an error that prevents it to make any modification, although boot manager works properly. 2º Install WindowsXP first, then eCs. This way, Windows installs with no problems, but eCs doesn't install, because I must mark a partition installable, but LVM detects the same error as above that prevents it to make any modification, and no partition can be marked as installable. Is there a way to install both operating systems without getting the error from LVM?. Antonio Serrano |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | Radek hajek@vuv.cz |
| Date | : | 22 Feb, 2007 on 13:22 |
I haven't installed eCS and XP on the same machine but I have some experience with eCS and Neanderthal Technology I can recommend the following:1. Try the OS/2 boot manager which comes with the eCS. This will pass in the case, for example, winblows 2000 and eCS. Whether you will pass with XP and eCS I don't know. As far as the fatal errors reported from the LVM are considered, I have seen that, too, when I tried to install wlnblows NT and eCS on the same disk and allowed the winblows to create its partition itself. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | BigWarpGuy |
| Date | : | 22 Feb, 2007 on 15:12 |
| I assume it would be the same if one is dual booting eComStation and ReactOS?
--- BigWarpGuy - - - - - - - - - - - - - - - - - - OS/2-eCS.org Director of Communications - - - - - - - - - - - - - - - - - supporting the past OS/2 user and the future eCS user http://www.os2ecs.org |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 22 Feb, 2007 on 15:34 |
| Is there a way to install eCs once windowsXP is installled?. I don't want to have to delete the windows partition and reinstall everything again. Or, Is there a free and reliable way to backup the whole windowsXP system (OS+programs+data) and restore it?. Could be useful the linux "tar" command?, How would be it used?. Thank you for your interest. Antonio Serrano |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | Radek hajek@vuv.cz |
| Date | : | 22 Feb, 2007 on 17:11 |
If you are getting the fatal errors from LVM then I doubt you will be successful LVM will not allow you to operate your HD so that you cannot create a partition for the eCS. Even if you succeed with smuggling eCS on your HD somehow, the system will be unstable because the HD isn't acceptable for it.Perhaps, dfsee could help somehow - by making the XP partition more acceptable for the LVM, at least temporarily, during the eCS installation. I think the simplest way woud be starting from sctatch |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | warpcafe warpcafe@yahoo.de |
| Date | : | 22 Feb, 2007 on 17:24 |
| Hi all, from my personal experience, it might be a different approach depending on whether XP and eCS share the same physical device or not - but basically, it all boils down to having AiR-Boot! FWIW - what I do is: Here, I use a small primary partition for the OS. http://www.ecomstation.com/edp/mod.php?mod=faq&op=show_answer&faq_id=524 What usually happens at that point is that XP isn't visible anymore and only eCS is starting - OK, there's no boot manager... maybe YMMV and there's different problems - who cares? Because: Now it's time for AiR-Boot! Within AiR-Boot (installed as last step from within eCS either installed and up running or from bootable CD) I make sure that neither eCS can see XP nor vice versa - at least in matters of their corresponding primary partitions. I know it might not cover all possible combinations but I HTH to some extent at least... If someone wants to know the detailed settings of my AiR-Boot setup, he/she will have to wait until I get back home... I have seen lots of bootmanagers during the last decade and to me, there is nothing as good as AiR-boot (at least for my needs). It's neat, slim, snappy and easy to understand. I must admit that I don't have any Linux installed as bootable OS via AiR-Boot... so from that perspective, I can't tell whether it STILL is that perfect then... but I would be more than surprised if there were any issues. Greetings |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | warpcafe warpcafe@yahoo.de |
| Date | : | 22 Feb, 2007 on 17:31 |
Hola Antonio,
...as for your problems with LVM in your previous post - please note my above message with the link to the eCS forum. HTH, saludos, |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 22 Feb, 2007 on 23:14 |
| Thank you very very very much. This will help me a lot. I will do everything you tell me and, then, I'll tell you the results. Antonio Serrano |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | DavidG |
| Date | : | 23 Feb, 2007 on 07:10 |
I use a program called Partition Commander. You boot from its CDROM, shrink the WInXP partition, and can be used to create more partitions for eCS and Windows to share data. I have use it with two different laptops and had no problem with the parititions. However, on the first, I had to make eCS a logical partition before the install would complete. As a result, I always install eCS to a logical partition without problems. David |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 23 Feb, 2007 on 08:38 |
| Thank you you too. Antonio Serrano. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | El Vato |
| Date | : | 24 Feb, 2007 on 00:38 |
You will avoid much frustration if you, as an instance, allocate Consequently, below is a suggestion that leaves the primary IDE After you connect your hard disks, boot with your bootable media LVM.EXE /SI:FS/SIZE:120 Once inside of the LVM utility, observe the label at the top: 1) Logical Volume management Tool -Logical View If your IDE (and or SCSI) hard disks have not been exposed to Pressing F5, you will be taken to the physical view of your 2) Logical Volume management Tool -Physical View Pressing TAB, a user will be taken to create an It must be noted that when creating a Primary partition, the 4) Hence a Primary partition is selected 5) 6) 7) And we are done with the
9) 10) Now, pressing F5 again, we are returned to the logical 11) 12) 13) 14) 16)
Leverage the intrinsic qualities of each operating system you As mentioned previously, WinXX can best be accommodated in Leaving those two predatory operating systems in your first hard Note that the flexibility provided by the OS/2 LVM-enabled Boot Consequently, and placing emphasis on the intrinsic qualities of For instance, (unless you were
You may install OS/2's LVM-enabled Boot manager at the start of If you already have a WinXX partition covering the start of your Leveraging the OS/2 LVM-enabled Boot Manger intrinsic tendency to
As mentioned previously by several people, you will make your
If your WinXX is an already existent entity in your hard disk you If you will be installing your WinXX AFTER you have installed As some people noted in this thread, even if you allocate the This is one of the reasons that even if a user is to have an NTFS Opening that file in a text editor on the first phase of the --------------------------------------------------------- [boot loader] ---------------------------------------------------------- Note especially the timeout= directive and if needed increase the Additionally, note the partition(1) under [operating systems] It is often the case that on the WinXX reboot to proceed to the A workaround is to modify the BOOT.INI file BY ADDING that second -------------------------------------------------------------- [boot loader]
With this change, an user will be able to continue her/his WinXX A word of warning: Often (if not always) on the initial reboot after your WinXX has completed its installation onto your hard disk --yes, even if you allocated its primary partition with LVM-enabled OS/2 Boot Manager-- OS/2's Boot manager will not be there upon rebooting your machine; you will see that WinXX will restart into its partition but BM will be nowhere to be seen. In that case, all that needs to be done is reboot with the OS/2 bootable media again, enter into the LVM utility once again (as explained priorly) and --note carefully: A1) Remove the Boot Manager, press F3 and save your changes. A2) Reboot once again with your OS/2 bootable media and into your LVM utility and reinstal your BM. Note that you may need to add once again your bootable physical partition to an LVM entity from the logical view of the LVM utility (as shown on #12 and #13 above). Possible shortcut to A1 & A2 above: Often the rebooting procedure is not a necessary condition to bring back your OS/2 BM to manage your hard disk. It is sufficient to redefine A1 above as follows: Subsequently press F3 and reboot your system. Quite possibly your BM will appear showing the menu of bootable LVM entities...and you are done! On the other hand, if WinXX starts up instead of OS/2's BM then go back and implement the full procedure stated in the section "A word of warning." Needless to say, the short cut to the A1 & A2 mentioned above will avoid you the extra step of assigning once again your bootable partitions to LVM units. Moreover, it saves one the trouble of reassigning to LVM units even those non-bootable Compatibiliy (read FAT, FAT32, NTFS, etc.) and JFS volumes. On the last note, I feel the need to point out that without LVM assigned units modern OS/2 can not "see" them and LVM-enabled Boot Manager can not boot them; the physical partions may exist but to be "seen" those have to be assigned to logical LVM units. Consequently, there is no need to use any other hard disk Well, evidently this suggestion also is possible in an non- And Debian from the third partition from the end of the
What arguments are to be thrown against LVM-enabled Boot Manager I can simply say that Boot Manager rocks |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 24 Feb, 2007 on 09:48 |
| Super!!. I prefer to use BM, but I thought it was not possible because of the problems I reported. I can now use it thanks to you. But you perhaps can help me in a new question. I see that it is possible to install eCs and BM before WinXP and use BM forever. But, what about if I have WinXP already installled (primary partition, beggining of the disk), and want to install eCs and BM now?. I remember you that LVM complains because of the changings made by Windows in boot sector or mbr. Can I reverse boot record or mbr in a state like before Windows touchs it?. Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | Terry tgindy@yahoo.com |
| Date | : | 24 Feb, 2007 on 16:55 |
| Excellent feedback from the original questions and the new questions! I'm reminded of "The A Team" at the end of the episode when a cigar was lit up: "Don't you just love it when the plan comes together?" |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 24 Feb, 2007 on 18:37 |
| I agree.
--- Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | El Vato |
| Date | : | 24 Feb, 2007 on 22:05 |
You need to remove the WinXX modifications to the MBR of your hard disk and reinstall you BM as stated in my prior post section labeled: "A word of caution." Obviously you can not undo the WinXX MBR modifications from within the OS/2 LVM utility since it is already complainig about a partitioning error. From within your WinXX (since I assume you can boot into it) make a rescue bootable floppy. Alternatively, you may use a Win9X bootable installation disk for the procedure; or if not possible, you may even try a DOS bootable diskette. Once you have your bootable diskette media ready, insert it into your floppy device and reboot your machine if necessary. Once the floppy media takes you into a command prompt, remove the MBR of your hard disk as follows: FDISK /MBR and your Master Boot Record is erased. Proceed to reinstall your OS/2 BM as elaborated priorly. Cheers |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 08 Mar, 2007 on 10:34 |
I made this with Dos and Win95 boot floppy disk, but with no result: BM still complains. 1º- Backup the entire WinXP system with "Drive image XML" (http://www.runtime.org/index.html) from a WinXP bootable CD made with Bart PE (http://www.nu2.nu/pebuilder/). The backup was stored in an external USB hard disk. 2º- Delete all partitions in the hard disk. When I did this with diskpart from the installation WindowsXP CD, I still get complaints from BM. So, I erased all partitions with "qtpared" from a bootable linux CD (I used guadalinex distribution, based on debian). This time I got no new complains from BM and since then, I only use BM to touch partitions. 3º- Create partition for windows with BM (must be greater or equal than the original that was backed up to restore it with "Dive Image XML"). 4º- Restore the WinXP backup with the WinXP bootable CD. 5º- At this point, I got wat you said: WindowsXP doesn't boot because the partition it is installed on is assigned "2", and originally, it was "1". So I edited Boot.ini and changed "1" to "2". I can do this on a NTFS file system using the WinXP bootable CD. And that's all (by now). I still have to install OS/2 and linux, but with BM not complainig any more, this will be very easy. P.D.: There is an article in EDM2 about dual booting with OS2 and Windows Vista. I think all the things said in this thread should be ordered and put there. If nobody wants to do so, I can do it, but it is advisable that those that knows more of the subject, can correct at least what I put, for which it will be necessary to register in EDM2. Anyway, I will say that the autors are: El Vato, and WarpCafé (and anybody whose contribution I use).
|
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | warpcafe warpcafe@yahoo.de |
| Date | : | 08 Mar, 2007 on 11:01 |
| Hola! Good to see you have resolved the problems (despite the remaining installs that are yet to come). I would appreciate VERY much to see all the mentioned information in one place. If you vote for this thread, that's okay with me - but there's two alternatives which I think are even better suited to provide a muc higher value for the entire community: 1) Write an article - for VOICE, OS/2 e-zine, EDM or even here at os2world (whatever you prefer) 2) Put that on a wiki-based site so that others can add information to it (might also work for EDM - IIRC it's netlabs wiki behind it?) Sorry to bother you with "work", but as you claimed to be willing to do it... Regards, |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | Blonde Guy |
| Date | : | 09 Mar, 2007 on 04:27 |
| You know, I installed WinXP and eCS and I really didn't have any problems. eCS is on a logical, WinXP is on a primary, and boot manager is installed between them. Here is the trick. There are only 4 primary paritions on a hard drive. I don't think it matters if WinXP is first or eCS or boot manager. But remember that boot manager takes a primary, and WinXP takes a primary, and the extended partition takes a primary. My computer has a recovery partition that takes another primary, so all 4 primary partitions are all used up. I think most of the installation problems happen to people who can't count to 4 properly. I did learn to exit boot.ini on Windows, though, in case I accidently made Windows unbootable.
|
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 09 Mar, 2007 on 10:03 |
| Ok. Edm/2 (www.edm2.com) is Wiki. So, anybody can add or correct things in an article. He/she must be registered first.
--- Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | El Vato |
| Date | : | 09 Mar, 2007 on 20:23 |
...it is evident that the lesson learned here is that (usually) whatever (partition) WinXX touches turns to crap. On the other hand, there are exceptions to the rule. I have installed OS/2 in laptops (IBM, Sony, Dell) where WinXX was preinstalled or, in the case of some newer IBM ThinkPads, there was an recovery image in a hidden partition. Interestingly, in some of the above instances, it is not necessary to remove the WinXX partition; it suffices to merely resize it with an NTFS capable resizing utility and LVM-enabled BM will not complain. You got one of those odd rough instances. Good that you now only use your LVM BM to do further slices in your hard drive(s)! And better yet that you have an open perspective since you value the power of Linux to clean the leftover WinXX crap.
In some situations, like when WinXX comes preinstalled, you do not have that option. Additionally, when there is a recovery partition and the image there is expanded into a primary partition, the initial phase is (usually) done in FAT32; and it is not until the end of the WinXX installation that the recovery utility uses the WinXX system CONVERT command to turn the FAT32 into NTFS. Consequently, even if one has the WinXX bootable media, the administrator password may not be known --yes, I know, there are admin password crackers out there. Notwithstanding, whenever possible simply formatting the WinXX partition as FAT32 will allow writing access from an Linux and/or OS/2 bootable media --at least until you are done setting up your multi-boot system in your machine. Finally, there is some add on software for writing NTFS file systems from within Linux but at the moment it is not very friendly nor intuitive --another pro argument for initial FAT32 formatting for those who will install WinXX first.
A couple of pointers, if I may suggest. Red Hat Fedora 6 by default will not read/write your HPFS partitions. Debian and Novell's Linux OpenSuSE and/or SuSE Linux Enterprise Desktop (SLED) do not have Fedora's HPFS initial handicap. By default each of the Linux operating systems above will suggest 3 partitions --and the SWAP partition; each partition will be done without regard for OS/2's BM interpretation of LVM and ...you will be in trouble if you allow it to happen. The Linux implementation of LVM is slightly different than that of OS/2's. Accordingly, from your OS/2 LVM-enbled utility plan and implement the creation of at least 2 logical partitions: your root partition and your SWAP file; the latter (SWAP) should be at least equal to your installed amount of RAM. Performancewise, the SWAP should ideally be created in a second hard drive --if you have that option, of course. Alternatively, you might create three(3) logical partitions: 100MB (/boot) partition, a root (/) partition, and your SWAP partition --all from the OS/2 LVM utility. Enable the boot partition as bootable if you implement this latter suggestion. Otherwise enable the root partiton as bootable. Note that you may need to deallocate the drive letter of your Linux bootable partitions. As with the WinXX partitioning issues, deallocation of the Linux drive letters from within OS/2's LVM is not strictly necessary but keep that option ready in case of problems. Pay particular attention to where you install the Linux GRUB booting utility. By default it will be installed on the MBR of your hard disk and (ugh!) if you have your OS/2 LVM-enabled BM there it will get beaten badly by the Penguin. If you do not have sufficient experience with Linux but feel that you do not need the WinXX-like patronizing of any version of Ubuntu, you may want to use either OpenSuSE (unsupported) and/or SuSE Linux Enterprise Desktop ($50.00 support subscription per year). The latter(s) provide an intuitive graphical user interface that will allow you flexibility not existing in Ubuntu; yet, that flexibility will not overwhelm you with copious technicalities like Debian. Now for the (A)XGL stuff. Fedora 6 and (supported) SLED support it "out of the box."The other Linux Distros require some tweaking but... it is worth it [...] |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 14 Mar, 2007 on 16:33 |
| Thank you for your valuable advices. eCs is now installed. Now goes Linux. Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 15 Mar, 2007 on 00:07 |
| Please, can you help me with this issue?: I've installed Linux (guadalinex, based on Ubuntu). I created with BM two logical drives in the extended partition: one of them is 20 Gb and the other one, 256 Mb. The first one is for the system (and was made bootable), and the other one, for swap. The process completed and rebooted the machine to load linux from installed partition. But when I select Linux from BM it issues the following message: "Selected partition is not formatted, hit any key". I hit a key and return to BM selection menu. What can be the problem and the possible solution?. Thank you very much. --- Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | BigWarpGuy |
| Date | : | 15 Mar, 2007 on 13:33 |
eCS yet installed? You should give eCS a try. There is a demo cd from the http://www.ecomstation.com . One can download it and create a cd from it and try it without having to install it. IMO eCS is cool. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 15 Mar, 2007 on 14:05 |
| Sorry, my english is not very good. I meant: eCs is now installed. I've corrected my post.
--- Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | El Vato |
| Date | : | 15 Mar, 2007 on 15:44 |
Well, at the risk if being kicked out of the forum for providing Linux related content, here is my insight: It appears that GRand Unified Boot (GRUB) loader was installed on the wrong partition, evidently. You can check which logical partition number your current Linux installation is by counting the logical partitions from within your OS/2 LVM utility. Open an OS/2 command prompt and type: LVM You will be taken into the Logical View (as discussed elsewhere). Now press F5. An you will be taken into the Physical view of your hard disk (again, as Press TAB to be changed onto your (physical) hard disk partitions in the lower half of the LVM utility Physical view screen. Please, do not mind Primary partition(s) for now; only observe that you may have 3 primary partitions --with the logical (or extended) set of slices representing the 4th partition (maximum for Intel architecture --I believe). The first Logical partition is equivalent to Linux's /dev/hda5
To GRUB, the first hard disk is hd (irrespective if it is IDE and/or SCSI) . Let us assume that your Linux installation resides in /dev/hda9 for an IDE hard disk (and/or /dev/sda9 for an SCSI hard disk). Then your two lines of GRUB's menu.lst configuration file that specify which partition to boot (your root partition where Linux is installed, of course) would read (your distribution name and kernel version will likely differ, of course): title Debian GNU/Linux, kernel 2.6.18-4-686
Needless to say when there are problems, the human is supposed to satisfy those two conditions above. After all we insist on using these toys, do not we? Otherwise, your Linux will not boot. GuadaLinux, being based on Ubuntu may have the same issues experienced by OriAl elsewhere (<
According, I tried VmWare on my SuSE Linux Entreprise Desktop and allocated two(2) Gigs to the hard disk image whereas the installer required a minimum of three(3) Gigs. It went through notwithstanding. My impression of it??? It is Ubuntu with different colors and a Spanish target market. Well, provided that you had enough hard disk space and the installation did not end abruptly. This is what is required to reinstall GRUB into its Boot with your non-live bootable CD-media. Select from the menu recovery (Rescatar un sistema dañado) and follow the process that resembles and regular installation except that the upper left corner states rescue (Modo rescate). From analysis in your OS/2's LVM utility, you found out which logical partition contains your Linux distro. Select the appropriate one. In my specific case, VmWare suggested a couple of SCSI hard drives for better virtual performance. Hence I selected the Logical partition /dev/sda5 because /dev/sdb5 is another virtual SCSI for SWAP partition file.
You have the option of specifying the partition to reinstall GRUB in either of two ways: the GRUB zero-indexed manner and or the Linux one-indexed manner. Compare both ways and understand why the GRUB way is one less than the Linux Toggle the selections using the TAB key and select "continue" to reinstallyour GRUB. Complete the rest of the instructions and finally reboot. If everything goes well, you should be able to reboot into your Linux from your OS/2 LVM-enabled BM. In my case, opening the file /boot/grub/menu.lst in an text editor, I can vi -R /boot/grub/menu.lst Although both entites above perceive different a given set of physical/logical objects, they both arrive at the same conclussion and cooperate to make the OS entities coexist as frictionless as possible and (consequently) boot (to life) appropriately. ...I wish I could say the same of the politicians that derive their power from us, the people; yet, instead of cooperation they engage in mutual destruction demanding of us an irrational servitude. Henry Thoreau once remarked that when the machinery of governments becomes rusty and does not serve the people anymore, to simply "...let it go, let it go." |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | Terry tgindy@yahoo.com |
| Date | : | 15 Mar, 2007 on 18:24 |
| This thread has expanded into so much more useful information than my initial question asked for, and this is to our community's credit. I have yet to find all of these additional considerations to really be adequately addressed like this in other eCS/OS-2 outlets so thoroughly, with this much flexibility, and yet in such a concise manner. P.S.: This is a good thing. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 15 Mar, 2007 on 22:59 |
Ok. I understand.
I read this thread and other two ones referenced by this one. I reach the conclusion that I have to install grub in the boot sector of /dev/hda6 (in linux notation, not in grub notation). I have linux installed on /dev/hda6 (the second logical volume in the extended partition).
You are a true genius doing so much to help me. I'm very grateful to you.
Yes, everybody says it.
I'm very sorry, but I do not install this version because it is still beta. I install version 3.0.1 live. And this version does not have the recovery option at startup. But I treated to install Grub from a termial when booted with the Linux cd (v3.0.1 live). I followed the instructions given in the guadalinex web. The instructions are to type the following commands: code: But I did not dare to issue the "sudo grub-install /dev/hda" command, thinking that it can overwrite BM. I issued instead the command "sudo grub-install /dev/hda6", but this leads to an error "sudo: unable to lookup guadalinex via gethostbyname()". I asked this in the guadalinex forum, but they replied me that I must issue "sudo grub-install /dev/hda" and must lose BM. I do no want to do this. That's why, I post my problem here again. Thank you for your interest and patinet. Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | El Vato |
| Date | : | 16 Mar, 2007 on 07:22 |
Then you just verified that the assumption is absolutely wrong. BM does not touch the partition that you specify that it boots. After BM redirects the booting to occur in a given partition, it is up to the operating system at that partition to bootstrap itself by means of GRUB or whatever utility it uses to wake up.
Well, now is an propicious time to step outside of the box of the status quo. A "live" CD, if you think about it, should not be able to modify your hard disks. Download the non-bootable version of your specific Linux Distro and follow the steps outlined to recover. Relax, you are only installing the boot loader and not the "approved" stable packages since they are in your hard disk already. An additional note. I installed Ubuntu in another test scenario in actual hardware sometime ago and it would not install GRUB in the logical partition that I directed it to do so. Notwithstanding, it "happily" installed on the master boot record of my hard disk. This handicap apparently has been passed on to your Linux distro. Is this what you are actually typing sudo mkdir /mnt/test
...it will overwrite your BM, definitely.
Major Linux distributions that I mentioned elsewhere do not have that handicap.
That inflexibility might be acceptable in the WinXX world from where those forum members probably come from, given the fact that Ubuntu is a fairly simple distro, but it is unacceptable in the world of Open Source Software (OSS). Best of Luck. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 16 Mar, 2007 on 17:47 |
On the other hand, I have downloded the non-bootable version of guadalinex (that's why I've taken so long to answer). But this version (v3.0.1 nolive) doesn't have an option to rescue the system. But, if I interrupt the installation, a menu appears where I can choose what phase of the installation do I want to execute. I choose the grub installation, but it returns an error. I also choose lilo installation, but it also returns an error. Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | obiwan |
| Date | : | 16 Mar, 2007 on 21:29 |
I wasn't really following this thread, as I'm not that interested in WinXP issues. But I see now I've been quoted here so I ought to clarify, and we'll see if I can be of a little help now that we're talking about GRUB.
Thank you for reading those threads Antonio, I'm very glad you learned from them. I did say you can lose data, but I did not mean that you necessarily will lose data just because you try to boot to an unbootable partition. My experience I mentioned was using the old "pre-LVM" BM, and it actually executed whatever randomness was on my unbootable boot sector, and it screwed up my whole MBR making the system unbootable and wiping my partition table. That makes me warn that doing it is dangerous, but I would not assume then that any data is actually missing in your case. If you got a nice clean error message that it could not boot, and you see your partitions and data, it's a safe bet everything is fine. I wasn't so lucky.
Bravo for not executing grub-install /dev/hda, even when told to by helpers! You did the right thing. You should never overwrite your MBR with GRUB when you want to use BM. They gave you lame advice, because gethostbyname() has absolutely nothing to do with the target to which you are installing GRUB. What is happening is sudo is doing a lookup on your hostname, which, booted to the CD, is guadalinux, but as you are in a "chroot" environment, it cannot find this host anywhere. Removed unnecessary complicated fix as it was solved another way. With those last commands: code: That's actually the correct order of the commands, because you have to exit the chroot before you can unmount it. Another thought I have is that you don't seem to be using a Linux boot partition. Are you sure that is the case? If you have a /boot partition, that is where GRUB should be installed. Even if not it should be ok, but I'm not sure whether you can install GRUB while it is mounted. If that turns out to be a problem, you are going to need to boot to another Linux CD that has GRUB on it so you don't have to execute it from your hard drive. That would also avoid the messiness of gethostbyname(). It may even be worthwhile to just do it, avoiding the bother of the procedure I gave above. Good luck, and do post how it goes, good or bad. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | obiwan |
| Date | : | 16 Mar, 2007 on 21:48 |
| This problem confirms once again my thought that we need a native OS/2 LVM-compatible GRUB GUI tool. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 16 Mar, 2007 on 22:55 |
| Thank you, obiwan, but I got arround the sudo error by logging in as root, and issuing all the commands without the "sudo". But then, I get another error. Here is what I write and get in the terminal:
How can I find if I'm using a Linux boot partition. I made it bootable in BM. Do you mean this?.
But I'm booting fom a Linux CD that has GRUB on it. I do not execute it from hard drive. Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | obiwan |
| Date | : | 16 Mar, 2007 on 23:24 |
| Ah, I like the 'su' solution much better. Good work Antonio. A Linux boot partition is the location of the contents of the /boot directory. See in Linux each partition has a mount point. So a directory can be just a directory on a filesystem, or it can be another filesystem. From what I understand of your description, /dev/hda6 is the mount point for your root filesystem, or /. (Not to be confused with /root.) When you run 'mount /dev/hda6 /mnt/test', you mount the /dev/hda6 filesystem to the mount point /mnt/test. /mnt/test used to be a directory on your CD boot image, but after this command, it now contains the filesystem on the /dev/hda6 partition, until you umount (or reboot). Usually, a small partition is created for holding your Linux kernel and GRUB binaries, and mounted at /boot. If you don't, then your Linux kernel and GRUB binaries will just be in the /boot directory. You know you have a Linux boot partition if you have another primary partition other than your OS/2 and BM partitions. You know you should have it if you have no other primary partition and your /boot directory is empty. If that is the case your best bet is to reinstall Linux. No kernel, no boot. The error about stage1 is critical, it means it's not finding your GRUB binaries. Check if that file is there. When you mount /dev/hda6 to /mnt/test you are mounting your root filesystem, and when you chroot to it you are effectively running everything from there, so yes you are running GRUB from the hard drive. I'm not sure if that's the problem though. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 17 Mar, 2007 on 09:53 |
Does this mean that linux cannot boot from a logical drive in the extended partition?. Must it boot from a primary partition?. Although booted from BM?. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Logical Volume Type Status File System Size (MB)³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄŽ ³Linux Guadalinex Compatibility Bootable None 20002 ³ ³Linux Swap Compatibility None 258 ³ ³eCom Station C: Compatibility Bootable HPFS 25007 ³ ³Windows D: Compatibility Bootable NTFS 30004 ³ ³[ V1 ] *->E: Compatibility 0 ³ ³Fat F: Compatibility None 1035 ³ ³[ CDROM 1 ] *->S: Compatibility CDFS 620 ³ ³[ CDROM 2 ] *->T: Compatibility CDFS 527 ³ ³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Disk Partition Size (MB) Disk Name ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄŽ ³Linux Guadalinex 20002 [ D1 ] ³ ³ ³ ³ ³ ³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ F1=help F3=exit F5=Physical View Enter=Options Tab=Window And the following is after pressing F5 (Physical View): Logical Volume Management Tool - Physical View ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Physical Disk Size (MB) Free Space: Total Largest ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄŽ ³1 [ D1 ] 76316 0 0 ³ ³2 [ D2 ] 96 96 96 ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Disk Partition Size (MB) Type Status Logical Volume ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄŽ ³Windows 30004 Primary In use Windows ³ ³[ BOOT MANAGER ] 7 Primary In use ³ ³eCom Station 25007 Logical In use eCom Station ³ ³Linux Guadalinex 20002 Logical In use Linux Guadalinex ³ ³Linux Swap 258 Logical In use Linux Swap ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ F1=help F3=exit F5=Logical View Enter=Options Tab=Window Although Linux Guadalinex appears with "File System->None", linux is installed there, and with the program "disks-admin" from the bootable linux cd, it appears with ext3 file system, but State->inaccessible (but I can mount and access it).
Yes, it is in the hard disk in "/media/hda6/boot/grub/stage1", and it is also in the CD, and in the ramdisk image (this is the root partition when I boot from the CD), in "/boot/grub/stage1".
|
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | obiwan |
| Date | : | 17 Mar, 2007 on 19:36 |
GRUB and Linux don't care if it's a primary or logical partition. That's fine. Looks like the GRUB binaries are where they should be. Let's try this a different way. I prefer calling grub directly rather than using grub-install. Just to be sure what your partitions look like, please boot to the Linux CD and post the output of Then I'll provide the grub commands to (hopefully) get this done.code: |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 17 Mar, 2007 on 23:42 |
Here is the screen with the output:
If you don't understand spanish words, here is the translation: Disco = Disk cabezas = heads sectores/pista = sectors/track cilindros = cylinders Unidades = units Disposit. = device inicio = begin fin = end Bloques = blocks Id = Id Sistema = System Las entradas de la tabla de particiones no están en el orden del disco = The entries in the partition table are not in the same order that they have in the disk.
|
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | obiwan |
| Date | : | 19 Mar, 2007 on 05:26 |
To get to the grub prompt, you should be able to just boot to the CD, use 'su' to become root, and then run grub.code: It should not be necessary to mount and chroot /dev/hda6 unless grub isn't on the CD. Try it without it first. Here are the commands to enter at the grub prompt: code: "Root" refers to GRUB's root, where it should find its binaries, in this case also the Unix root, but in other cases it could be the /boot partition. Setup means where it should do the GRUB initialization, in this case the boot sector of a partition. Hd0 refers to the first hard disk. Replace 'x' with the correct number of the partition (bearing in mind GRUB counts starting with 0). Removed some specifics to this case as they turned out to be erroneous. Let's hope this does the trick. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 19 Mar, 2007 on 09:37 |
Here is what I get:code: --- Antonio Serrano. Greetings from Málaga, Spain. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | El Vato |
| Date | : | 19 Mar, 2007 on 09:44 |
Those entries that I highlighted in red are not right. The logical partitions /dev/hda6 (purportedly your root partition) should be a file type 83 Linux NOT 6 FAT16; the same goes for your SWAP file partition: 82 Linux swap / Solaris Consequently, either you did not install/mount/format your distro in an appropriate file system or you have messed up the partitions by now. This snapshot is from an physical (as opposed to virtual) file system and its relationship to GRUB's /boot/grub/menu.lst configuration file in a Debian root residing at GRUB's (0,8) and Linux's /dev/hda9 --compare it to what you show very carefully since I will be making another observation correcting some further misinformation. As explained in one of my previous posts, perhaps our friend who made the suggestion above did not understand it completely since he asked you to install GRUB at (0,4) That is wrong Yes, GRUB starts counting at the zero(0) index BUT the first four primary partitions are implicitely included whether those exist or not. Consequently, when it comes to logical partitions GRUB (and Linux) wil always start at partiton number 4 (and 5, respectively) even if there is only one or two primary partitions. It does not mean that GRUB counts literally each partition from the beginning of your hard disk. GRUB's counting notion is made explicit to the human operator as printed numbers guiding the human in the fdisk output. And it means that if the first logical partition (where you have OS/2, I assume) is /dev/hda5 then that is what GRUB refers to (0,4) and Linux "sees" as /dev/hda5 --even if you do not have primary partitions. Makes sense Reiterating, it does not matter if you have only one primary partition (or two, or even none --as a matter of fact). GRUB will always see the first logical partition as (0,4) and Linux as 5 or /dev/hda5. Attempting to install GRUB at first logical partition (0,4) might (in your specific case) mess your OS/2. With that issue hopefully understood by our friend also, you migh want to reinstall your Linux distro paying particular attention to the mount point, file system type, etc.. I mentioned twice before that Ubuntu live has problems installing GRUB in other than the master boot in your hard disk (attempting GRUB's (0,6) installation did not work in my past experience). I also mentioned that your distro, being a derivative work from Ubuntu, might have inherited that crap. As I remarked to OriAl in a previous referenced post, software and hardware being creations by ephemeral creatures have many limitations. And those can not be overcome by projecting ones desires upon the latter's physical/rational boundaries. In other words, you may have to remove your boot manager --at least temporarily-- to fulfill your task. Best regards. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | El Vato |
| Date | : | 19 Mar, 2007 on 10:05 |
And GRUB is correct and you were lucky not to have messed your OS/2 partition since 0x7 is type HPFS/NTFS.
Because two conditions fail: partition type 0x7 and file system is neither Ext3, XFS, JFS, nor RaiserFS --i,e, Linux file systems for root/boot. ... |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 19 Mar, 2007 on 11:27 |
| I resolved to do the following: 1º- Start with the linux bootable CD. 2º- Execute cfdisk from the linux bootable CD. 3º- With this partitioning program, I removed the bootable flag from every partition except from the BM partition. 4º- Then (using cfdisk), I changed the partition type for linux to type 83, and the partition type for linux-swap to 82. 5º- Exited cfdisk. 6º- Executed GRUB as super user. This is what happend: code: ¿And now, I will restart the computer to see what happended?.
|
| Subject | : | SUCCESS!!! |
| Author | : | aasdelat |
| Date | : | 19 Mar, 2007 on 11:43 |
I'm writing this message from linux booted from harddisk using BM. I'm intrigated about the messages: code: And now, it's time for the EDM2 article, but I need to have time. Hope soon.
|
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | obiwan |
| Date | : | 19 Mar, 2007 on 18:23 |
| Thanks El Vato for the clarification on GRUB's hard disk ordering. I spent some time looking for documentation on that and did not find it. This is my first encounter with putting GRUB on logical partitions, and I made a bad assumption. I really should have made sure that was right before posting. My apologies for putting out bad and potentially damaging information. I'll correct or remove the erroneous text. One thing you might be interested in knowing is that Linux does not really care about partition types. It is perfectly acceptable to use a "fat16" type partition for swap or ext3 filesystems. GRUB didn't say it did not like the type 0x7, rather it said the HPFS filesystem could not be read. That is more likely why it failed. Actually as long as it can't find its binaries, it will fail, and it was looking for them in the wrong place, (hd0,4) instead of (hd0,5). Also, technically, 0x7 is type IFS, not HPFS/NTFS. GRUB/Linux devs use the wrong term. |
| Subject | : | Re:Dual-Booting eCS 2.1R and WinXP |
| Author | : | aasdelat |
| Date | : | 19 Mar, 2007 on 23:23 |
| Don't worry, obiwan, everything has gone OK.
--- Antonio Serrano. Greetings from Málaga, Spain. |