SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and just the following in blue highlight in kwrite
"
(hd0) /dev/hda
"
i think we aere getting some where
thanks you soooooooooooooooooooo much for putin up with a newb
your devices are set up correct
I had the same problem when I was setting up my dual boot system, it just means that it can't find the files to boot into Windows... You have 2 FAT32 partition, and that's why GRUB thinks they are both windows partitions...
To be honest I don't know what I did against the command.com not found error, but I think that the problem doesn't lies with GRUB, but with some kind of setting...
Well, I shall post my menu.lst maybe that will be some kind of help to you:
Quote:
# Modified by YaST2. Last modification on Tue May 10 23:20:00 2005
color white/blue black/light-gray
default 2
timeout 8
gfxmenu (hd0,4)/boot/message
###Don't change this comment - YaST2 identifier: Original name: windows###
title Microsoft Windows 98
unhide (hd0,0)
hide (hd0,1)
hide (hd0,4)
hide (hd0,5)
hide (hd0,2)
rootnoverify (hd0,0)
chainloader +1
makeactive
###Don't change this comment - YaST2 identifier: Original name: windows###
title Microsoft Windows XP
hide (hd0,0)
unhide (hd0,1)
hide (hd0,4)
hide (hd0,5)
hide (hd0,2)
rootnoverify (hd0,1)
chainloader +1
makeactive
###Don't change this comment - YaST2 identifier: Original name: linux###
title SuSE Linux 9.2
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 vga=0x317 selinux=0 splash=silent resume=/dev/hda6 desktop elevator=as showopts
hide (hd0,0)
hide (hd0,1)
unhide (hd0,2)
unhide (hd0,4)
unhide (hd0,5)
initrd (hd0,4)/boot/initrd
###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title FAILSAFE -- SuSE Linux 9.2
kernel (hd0,4)/boot/vmlinuz root=/dev/hda5 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,4)/boot/initrd
title xp install (floppy)
hide (hd0,0)
unhide (hd0,1)
hide (hd0,4)
hide (hd0,5)
chainloader (fd0)+1
Devices.map just lets the bootloader know what drives are available to boot from (I guess at least).
As you can see I have a multiboot with XP, 98 and Suse My Grub files are installed on hda4 (hd0,3 in Grub terms), and this partition is my shared data partition... This way I didn't get in any problems with the hiding/unhiding settings (When it was installed on my Linux partition, when I booted in XP, after a restart grub wouldn't load anymore because the Linux partition was hidden :P).
Furthermore, all the complex hiding/unhiding was just to make sure that I still had my own drives in XP and 98, so I didn't had any weird drives in these OS'es...
If you have any questions regarding my meny.lst please feel free to ask
My guess is somehow you got one of the FAT32 partition hda1 hidden by mistake, possibly by installing a previous distro. It appear Suse is not hiding it and you can't boot Windows. Thus it makes me think your XP may be using hda1 for booting but couldn't find it. XP can dual boot and prefers the bootloader in the first primary partition or hda1 in your case.
Liquid_T's menu.lst is another case of hiding and unhiding to keep Windows happy.
Let us know how you get on. You are definitely near to the break through point.
i tried the below code, i think its would have fixed it,
but...
before i started talking to you
i was so desperate, i had insert a windows recoverry cd
but the cd could not run because of the suse modified partition
but i think windows did make some changes
ands that the reason (i think), when use the code u suggested, it comes up withe a list options
1. boot to windows xp
2-4 where all recovery options with different partians
after chosing option 1. it tells me recovery not compelte and stoped there
the below is the code i used
# Modified by YaST2. Last modification on Sun Sep 4 03:59:31 EST 2005
color white/blue black/light-gray
default 3
timeout 8
gfxmenu (hd0,3)/boot/message
###Don't change this comment - YaST2 identifier: Original name: windows###
title Microsoft Windows XP
unhide (hd0,0)
unhide (hd0,1)
root (hd0,0)
makeactive
chainloader +1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.3
kernel (hd0,3)/boot/vmlinuz root=/dev/hda4 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,3)/boot/initrd
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.3
kernel (hd0,3)/boot/vmlinuz root=/dev/hda4 vga=0x317 selinux=0 splash=silent apm=off acpi=off mce=off barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare showopts
initrd (hd0,3)/boot/initrd
OK you can try the XP installation CD as often as you want. The operation has nothing to do with Suse. It is just a matter of you choosing what boot manager should occupy the first 512 bytes of the hard disk.
The first 512 bytes of the first bootable hdd is called MBR which the BIOS always reads and boots. Whoever gets there first has the control of the PC.
When you install Suse you let Grub in and XP's orginal MBR was overwritten. Doing a fixmbr with the installation CD just put XP's boot code back to overwrite Grub. I do them regularly because I run over 40 systems in the box, no need to panic.
Before you restoring the Windows MBR perhaps you could do a small investigation and report the content content of the hda1 and hda2. I am increasing leaning to the theory that you could have a hidden partition for backup purpose, as you have so far unable to describe what they are.
You can do this by Suse (time to see the power of Linux!). Newer Suse could have mount the two partitions for you to view but I am assuming yours doesn't. So you need to make directories for mounting and then mount them manually. So in Suse and as a super user type
mkdir /mnt/hda1
mkdir /mnt/hda2
mount /dev/hda1 /mnt/hda1
mount /dev/hda2 /mnt/hda2
You can then go to the desktop, click home and go all the way to the root directory / to find out /mnt. The two partitions hda1 and hda2 should be inside there. Just use the desktop to view the content of the two partitions. With FAT32 type you can edit them, see photos and play mp3 just as can in XP.
I need you to confirm whether both directories have Windows inside or not. Suse can read system files hidden by XP. The one to look for is boot.ini. In it you can actually edit the line timeout statement to lengthen the time you can see the bootup screen (the one you reported a Window98 image). You can have an idea of the files and directories names to know if any one is a valid bootable system.
So get you Windows up and running first, kown it is in perfect order and put revert back to your current position by using Yast from Suse's installation CD,
A Linux boot loader doesn't fix a foreign system. It only boots it. So it is essential to start with a bootable XP. You will have a lot of faith in Suse once you know how to restore the MBR for both of systems.
Suse then asks for a password for the root user. You type it in. If Suse accepts it your command prompt will change slightly. Thereafter you are as a good as the root user in that terminal but can still operate as non-root user at the desktop.
Just tried it once again in my Suse 10. Don't see any problem.
My Suse 10 also boots to normal user only but permits me to change session and log on to as root too. You should be able to do the same. I just right click anywhere in the desktop and click "switch user" to go in formally as root if I need to. Suse responds with a RED screen to warn the user to be extra careful as damage to the system files can render the Suse unbootable.
Just double click either trash or my computer and you can see a few direction arrows in the Konquerer window. Keep clicking the up arrow will lead to to the root / of the Linux filing system. There you will find /boot for booting data, /mnt/ for mounting and so on. Most people use /home to store personal data but I also keep mine ouside. Don't worry if you don'y know what they are for but do be aware where to find them.
Any user having access to the desktop can see all the files. Non-root users will see the system files showing a lock icon. That is all. It is Linux's way to protect the system files. XP just hide them. It will make sense to you gradually.
Yast is just a configurator, similar to Control Panel in XP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.