LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-03-2009, 03:00 PM   #31
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47

SuseLinux103:/home/ni # mount /dev/sdb5 /mnt/mandriva
SuseLinux103:/home/ni #


grub> find /boot/vmlinuz
find /boot/vmlinuz
(hd1,7)
grub>
-----------------------------
I hope the above is fine.

------------------------------------------------------------------

Code:
ni@SuseLinux103:~> su root
Password:
SuseLinux103:/home/ni # cd /mnt/mandriva
SuseLinux103:/mnt/mandriva # cd /boot
SuseLinux103:/boot # cd grub
SuseLinux103:/boot/grub # ls
default         e2fs_stage1_5  iso9660_stage1_5  menu.lst.old       stage1         vstafs_stage1_5
device.map      fat_stage1_5   jfs_stage1_5      minix_stage1_5     stage2         xfs_stage1_5
device.map.old  ffs_stage1_5   menu.lst          reiserfs_stage1_5  ufs2_stage1_5
SuseLinux103:/boot/grub # vi menu.lst
SuseLinux103:/boot/grub #
...................................................

Code:
title linux suggested by yancek
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=6460a523-8375-40e3-9958-31c179210b3a resume=UUID=743165
c2-5731-4133-9976-0fc7fd90d02c splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

As you see, I opened open SuSE 10.3 and attached the 'mandriva'.

I made the minor changed you suggested. I just inserted (hd0,4)


I rebooted the computer and selected the following from the menu.

'title linux suggested by yancek'

The following is the error message:
Code:
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=6460a523-8375-40e3-9958-31c179210b3a resume=UUID=743165
c2-5731-4133-9976-0fc7fd90d02c splash=silent vga=788
Error 15: File not found
Press any key ...

Last edited by Gins; 01-03-2009 at 03:09 PM.
 
Old 01-03-2009, 05:37 PM   #32
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,408

Rep: Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708
Your results for the output of the grub geometry commands don't fit with your partitions. You have a vmlinuz file in (hd1,7) and in (hd1,2), your Opensuse and Ubuntu partitions. There Should be another for Mandriva in (hd1,4), why that doesn't show ??? When you mount Mandriva, you can see the files with the "ls" command??

I believe you have already tried having the stanza in Opensuse menu.lst for Mandriva of (hd1,4) and it didn't work. Might try that again?

What do you have on sda, the Linux partitions? I'm not sure what else to try now.
 
Old 01-03-2009, 05:47 PM   #33
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
This is just an idea, because I don't want to intrude on your excellent troubleshooting efforts, yancek; but it might help to see the output of meierfra's boot_info_script.txt in order to help pinpoint Gin's booting problem. If you are interested in running the script, Gins, how about downloading the "boot_info_script.txt" to your desktop, and then do the following as root user, but replace <username> with your username:
Code:
bash /home/<username>/Desktop/boot_info_script.txt
That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of that file to your next post. That will help clarify your setup and hopefully what your booting problem might be.
 
Old 01-03-2009, 11:15 PM   #34
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,408

Rep: Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708Reputation: 1708
Earlier you posted your menu.lst file from Mandriva. All of the entries in Mandriva showed your partitions as (hd0) in Grub, Mandriva (hd0,4), Ubuntu (hd0,2), Opensuse (hd0,7). Your Ubuntu and Opensuse menu.lst files show all these entries as (hd1). Also, as I indicated in my last post, there is a problem with the grub commands which do not see the Mandriva boot files! Since grub does not see the files, there is no way for grub to boot Mandriva.

Did you change the boot order between Opensuse install and Mandriva install?

Try the script CJS suggests in his post.
 
Old 01-04-2009, 02:10 PM   #35
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
I did what CJS suggested. It resulted a long .txt file

I tried invain to send it as an attached file. The result is from open SuSE 10.3. I didn't mount Mandriva


SuseLinux103:/home/ni # bash /home/ni/Desktop/boot_info_script.txt
Finished. The results are in the file RESULTS.txt located in /home/ni/Desktop
SuseLinux103:/home/ni #


How do I send/past it here?

It exceeds 25000 characters and impossible to past here.
 
Old 01-04-2009, 02:14 PM   #36
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
You could split up the output into two posts if you want. Also, when you copy/paste the results into the message box, be sure to highlight it and click the little pound sign # graphic in the forum message box to put code tags around the text for easier viewing.
 
Old 01-04-2009, 02:30 PM   #37
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
CJS
I will split it immediately and post here.
 
Old 01-04-2009, 02:31 PM   #38
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
Code:
============================= Boot Info Summary: ==============================

 => Grub is installed in the MBR of /dev/sda and looks on boot drive #2 in 
    partition #8 for its boot files.
 => Windows is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

    File system:       Extended Partition

sda2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista
    Boot sector info:  The info in boot sector on the starting sector of the 
                       MFT is wrong. The info in the boot sector on the 
                       starting sector of the MFT Mirror is wrong.
    Mounting failed:
mount: /dev/sda2 already mounted or sda2 busy
mount: according to mtab, /dev/sda2 is mounted on /windows/C

sda5: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  No Boot Loader
    Boot sector info:      Operating System:  
    Boot files/dirs:   
sda6: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  No Boot Loader
    Boot sector info:      Operating System:  
    Boot files/dirs:   
sda7: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  No Boot Loader
    Boot sector info:      Operating System:  
    Boot files/dirs:   
sdb1: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:  The info in boot sector on the starting sector of the 
                       MFT is wrong. The info in the boot sector on the 
                       starting sector of the MFT Mirror is wrong.
    Mounting failed:
mount: /dev/sdb1 already mounted or sdb1 busy
mount: according to mtab, /dev/sdb1 is mounted on /windows/D

sdb2: _________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows XP
    Boot sector info:  The info in boot sector on the starting sector of the 
                       MFT is wrong. The info in the boot sector on the 
                       starting sector of the MFT Mirror is wrong.
    Mounting failed:
mount: /dev/sdb2 already mounted or sdb2 busy
mount: according to mtab, /dev/sdb2 is mounted on /windows/E

sdb3: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  No Boot Loader
    Boot sector info:      Operating System:  Ubuntu 8.04
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab /boot /boot/grub

sdb4: _________________________________________________________________________

    File system:       Extended Partition

sdb5: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  Grub
    Boot sector info:  Grub is installed to the boot sector of /dev/sdb5 and 
                       looks at sector 739659005 of the same hard drive for 
                       the stage2 file (a stage2 file is at this location on 
                       /dev/sdb) and on partition #1 for menu.lst.
    Operating System:  
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab /boot /boot/grub

sdb6: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  No Boot Loader
    Boot sector info:      Operating System:  
    Boot files/dirs:   
sdb7: _________________________________________________________________________

    File system:       swap

sdb8: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  No Boot Loader
    Boot sector info:      Operating System:   Welcome to openSUSE 10.3 (i586) - Kernel
    Boot files/dirs:   /boot/grub/menu.lst /etc/fstab /boot /boot/grub

=========================== Drive/Partition Info: =============================
 
Old 01-04-2009, 02:34 PM   #39
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
Code:
Drive sda: _____________________________________________________________________

fdisk -lu /dev/sda:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x24312430

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1           16065   432341279   216162607+   5  Extended
/dev/sda2   *   432343040   488394751    28025856    7  HPFS/NTFS
/dev/sda5           16128   143862074    71922973+  83  Linux
/dev/sda6       143862138   289716209    72927036   83  Linux
/dev/sda7       289716273   432341279    71312503+  83  Linux

sfdisk -V /dev/sda:

Warning: partition 2 extends past end of disk

Drive sdb: _____________________________________________________________________

fdisk -lu /dev/sdb:

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xdd98dd98

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          63   209760704   104880321    7  HPFS/NTFS
/dev/sdb2       209760705   365061059    77650177+   7  HPFS/NTFS
/dev/sdb3       365061060   511445339    73192140   83  Linux
/dev/sdb4       511445340   959851619   224203140    5  Extended
/dev/sdb5       655291413   799137359    71922973+  83  Linux
/dev/sdb6       799137423   942983369    71922973+  83  Linux
/dev/sdb7       942983433   959851619     8434093+  82  Linux swap / Solaris
/dev/sdb8       511445466   655291349    71922942   83  Linux

Partition table entries are not in disk order

sfdisk -V /dev/sdb:

Warning: partition 5 does not start at a cylinder boundary

blkid -c /dev/null: ____________________________________________________________

/dev/sda2: UUID="290058290057E03" TYPE="ntfs" 
/dev/sda5: LABEL="Linux5" UUID="7e99b107-7ea3-a85d-99a1-b6b7d63875f0" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda6: LABEL="Linux6" UUID="3cc445e0-9203-4c4d-790b-e968b2b2ff8e" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda7: LABEL="Linux7" UUID="7086cf99-e968-2aa4-18d9-c97778e0daf0" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdb1: UUID="CE1D3FDB434D957C" LABEL="Windows 200" TYPE="ntfs" 
/dev/sdb2: UUID="7C1596897D349719" LABEL="Windows Vis" TYPE="ntfs" 
/dev/sdb3: UUID="c5fb4ab5-6767-44e8-b89a-6383b86e2bad" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdb5: LABEL="Linux3" UUID="6460a523-8375-40e3-9958-31c179210b3a" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdb6: LABEL="Linux4" UUID="513bed05-4400-974b-8ed3-085c7928928e" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdb7: TYPE="swap" UUID="743165c2-5731-4133-9976-0fc7fd90d02c" 
/dev/sdb8: UUID="ea708229-6c8b-4f64-a93b-59bee3c3fbcd" SEC_TYPE="ext2" TYPE="ext3" 

=============================== "mount" output: ===============================

/dev/sdb8 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda2 on /windows/C type fuseblk (rw,noexec,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sdb1 on /windows/D type fuseblk (rw,noexec,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
/dev/sdb2 on /windows/E type fuseblk (rw,noexec,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
securityfs on /sys/kernel/security type securityfs (rw)

=========================== sdb3/boot/grub/menu.lst: ===========================

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		30

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=c5fb4ab5-6767-44e8-b89a-6383b86e2bad ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,2)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 8.04, kernel 2.6.24-16-generic
root		(hd1,2)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=c5fb4ab5-6767-44e8-b89a-6383b86e2bad ro quiet splash
initrd		/boot/initrd.img-2.6.24-16-generic
quiet

title		Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root		(hd1,2)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=c5fb4ab5-6767-44e8-b89a-6383b86e2bad ro single
initrd		/boot/initrd.img-2.6.24-16-generic

title		Ubuntu 8.04, memtest86+
root		(hd1,2)
kernel		/boot/memtest86+.bin
quiet

title Mandriva 2009
root    (hd1,4)
configfile /boot/grub/menu.lst
 
Old 01-04-2009, 02:34 PM   #40
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
Code:
### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title		Windows 2008 Server
root		(hd0,1)
savedefault
makeactive
chainloader	+1


title           Windows Vista/Longhorn (loader)
root            (hd0,2)
savedefault
makeactive
chainloader     +1









=============================== sdb3/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sdb3
UUID=c5fb4ab5-6767-44e8-b89a-6383b86e2bad /               ext3    relatime,errors=remount-ro 0       1
# /dev/sdb8
UUID=743165c2-5731-4133-9976-0fc7fd90d02c none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

================================== sdb3/boot: ==================================

total 18284
drwxr-xr-x  3 root root    4096 2008-12-21 00:28 .
drwxr-xr-x 21 root root    4096 2008-12-21 00:28 ..
-rw-r--r--  1 root root  422607 2008-04-10 18:51 abi-2.6.24-16-generic
-rw-r--r--  1 root root   79964 2008-04-10 18:51 config-2.6.24-16-generic
drwxr-xr-x  2 root root    4096 2008-12-28 22:21 grub
-rw-r--r--  1 root root 7889191 2008-12-21 00:28 initrd.img-2.6.24-16-generic
-rw-r--r--  1 root root 7349268 2008-04-22 20:00 initrd.img-2.6.24-16-generic.bak
-rw-r--r--  1 root root  103204 2007-09-28 12:06 memtest86+.bin
-rw-r--r--  1 root root  899892 2008-04-10 18:51 System.map-2.6.24-16-generic
-rw-r--r--  1 root root 1904248 2008-04-10 18:51 vmlinuz-2.6.24-16-generic

=============================== sdb3/boot/grub: ===============================

total 240
drwxr-xr-x 2 root root   4096 2008-12-28 22:21 .
drwxr-xr-x 3 root root   4096 2008-12-21 00:28 ..
-rw-r--r-- 1 root root    197 2008-12-21 00:28 default
-rw-r--r-- 1 root root     30 2008-12-21 00:28 device.map
-rw-r--r-- 1 root root   8056 2008-12-21 00:28 e2fs_stage1_5
-rw-r--r-- 1 root root   7904 2008-12-21 00:28 fat_stage1_5
-rw-r--r-- 1 root root     16 2008-12-21 00:28 installed-version
-rw-r--r-- 1 root root   8608 2008-12-21 00:28 jfs_stage1_5
-rw-r--r-- 1 root root   4755 2008-12-28 22:21 menu.lst
-rw-r--r-- 1 root root  16384 2008-12-26 23:49 .menu.lst.swo
-rw-r--r-- 1 root root  20480 2008-12-20 22:48 .menu.lst.swp
-rw-r--r-- 1 root root   7324 2008-12-21 00:28 minix_stage1_5
-rw-r--r-- 1 root root   9632 2008-12-21 00:28 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 2008-12-21 00:28 stage1
-rw-r--r-- 1 root root 108356 2008-12-21 00:28 stage2
-rw-r--r-- 1 root root   9276 2008-12-21 00:28 xfs_stage1_5

=========================== sdb5/boot/grub/menu.lst: ===========================

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=6460a523-8375-40e3-9958-31c179210b3a  resume=UUID=743165c2-5731-4133-9976-0fc7fd90d02c splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=6460a523-8375-40e3-9958-31c179210b3a  resume=UUID=743165c2-5731-4133-9976-0fc7fd90d02c
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=6460a523-8375-40e3-9958-31c179210b3a  failsafe
initrd (hd0,4)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

title windows1
root (hd0,1)
makeactive
chainloader +1

title Ubuntu 8.04 
root (hd0,2)
configfile /boot/grub/menu.lst

title openSUSE 10.3 (i586)
VERSION = 10.3
root (hd0,7)
configfile /boot/grub/menu.lst

=============================== sdb5/etc/fstab: ===============================

# Entry for /dev/sdb5 :
UUID=6460a523-8375-40e3-9958-31c179210b3a / ext3 relatime 1 1
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/fd0 /media/floppy auto umask=0,users,iocharset=utf8,noauto,exec,flush 0 0
# Entry for /dev/sda2 :
UUID=0290058290057E03 /mnt/win_c ntfs-3g defaults 0 0
# Entry for /dev/sdb1 :
UUID=CE1D3FDB434D957C /mnt/win_c2 ntfs-3g defaults 0 0
# Entry for /dev/sdb2 :
UUID=7C1596897D349719 /mnt/win_d ntfs-3g defaults 0 0
none /proc proc defaults 0 0
# Entry for /dev/sdb7 :
UUID=743165c2-5731-4133-9976-0fc7fd90d02c swap swap defaults 0 0

================================== sdb5/boot: ==================================

total 7180
drwxr-xr-x  3 root root    4096 2008-12-26 22:00 .
drwxr-xr-x 20 root    4    4096 2008-12-26 21:56 ..
-rw-r--r--  1 root root   96667 2008-10-02 12:28 config-2.6.27-server-0.rc8.2mnb
-rw-r--r--  1 root root  483840 2008-12-26 22:05 gfxmenu
drwxr-xr-x  2 root root    4096 2008-12-26 22:00 grub
-rw-------  1 root root 3693116 2008-12-26 21:59 initrd-2.6.27-server-0.rc8.2mnb.img
lrwxrwxrwx  1 root root      35 2008-12-26 21:59 initrd.img -> initrd-2.6.27-server-0.rc8.2mnb.img
lrwxrwxrwx  1 root root      35 2008-12-26 21:50 initrd-server.img -> initrd-2.6.27-server-0.rc8.2mnb.img
-rw-r--r--  1 root root  880280 2008-10-02 12:28 System.map-2.6.27-server-0.rc8.2mnb
lrwxrwxrwx  1 root root      32 2008-12-26 21:58 vmlinuz -> vmlinuz-2.6.27-server-0.rc8.2mnb
-rw-r--r--  1 root root 2156112 2008-10-02 12:28 vmlinuz-2.6.27-server-0.rc8.2mnb
lrwxrwxrwx  1 root root      32 2008-12-26 21:50 vmlinuz-server -> vmlinuz-2.6.27-server-0.rc8.2mnb

=============================== sdb5/boot/grub: ===============================

total 256
drwxr-xr-x 2 root root   4096 2008-12-26 22:00 .
drwxr-xr-x 3 root root   4096 2008-12-26 22:00 ..
-rw-r--r-- 1 root root     45 2008-12-26 22:00 device.map
-rw-r--r-- 1 root root   8896 2008-12-26 22:00 e2fs_stage1_5
-rw-r--r-- 1 root root   8576 2008-12-26 22:00 fat_stage1_5
-rw-r--r-- 1 root root   7712 2008-12-26 22:00 ffs_stage1_5
-rwxr-xr-x 1 root root    117 2008-12-26 22:00 install.sh
-rw-r--r-- 1 root root   9216 2008-12-26 22:00 iso9660_stage1_5
-rw-r--r-- 1 root root   9632 2008-12-26 22:00 jfs_stage1_5
-rw-r--r-- 1 root root    897 2008-12-26 22:00 menu.lst
-rw-r--r-- 1 root root    223 2008-08-06 19:37 menu.lst.example
-rw-r--r-- 1 root root   7936 2008-12-26 22:00 minix_stage1_5
-rw-r--r-- 1 root root  10720 2008-12-26 22:00 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 2008-12-26 22:00 stage1
-rw-r--r-- 1 root root 122186 2008-12-26 22:00 stage2
-rw-r--r-- 1 root root   8000 2008-12-26 22:00 ufs2_stage1_5
-rw-r--r-- 1 root root   7264 2008-12-26 22:00 vstafs_stage1_5
-rw-r--r-- 1 root root  10312 2008-12-26 22:00 xfs_stage1_5

=========================== sdb8/boot/grub/menu.lst: ===========================

# Modified by YaST2. Last modification on Sun Dec 21 17:14:18 CET 2008
default 0
timeout 30
gfxmenu (hd1,7)/boot/message

###Don't change this comment - YaST2 identifier: Original name:  Ubuntu 8.04, kernel 2.6.24-16-generic (/dev/sdb3)###
title Ubuntu 8.04, kernel 2.6.24-16-generic (/dev/sdb3)
    root (hd1,2)
    configfile /boot/grub/menu.lst
    configfile /boot/grub/menu.lst

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3
    root (hd1,7)
    kernel /boot/vmlinuz-2.6.22.5-31-bigsmp root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM35003_9QM357QE-part8 vga=0x317 resume=/dev/sdb7 splash=silent showopts
    initrd /boot/initrd-2.6.22.5-31-bigsmp

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
    rootnoverify (hd1,7)
    chainloader (hd0,1)+1

###Don't change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
    rootnoverify (hd1,7)
    chainloader (hd1,0)+1

###Don't change this comment - YaST2 identifier: Original name: windows 3###
title windows 3
    rootnoverify (hd1,7)
    chainloader (hd1,1)+1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    rootnoverify (hd1,7)
    chainloader (fd0)+1

title linux suggested by yancek
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=6460a523-8375-40e3-9958-31c179210b3a resume=UUID=743165c2-5731-4133-9976-0fc7fd90d02c splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3
    root (hd1,7)
    kernel /boot/vmlinuz-2.6.22.5-31-bigsmp root=/dev/disk/by-id/scsi-SATA_MAXTOR_STM35003_9QM357QE-part8 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /boot/initrd-2.6.22.5-31-bigsmp


=============================== sdb8/etc/fstab: ===============================




/dev/disk/by-id/scsi-SATA_MAXTOR_STM35003_9QM357QE-part8 /                    ext3       acl,user_xattr         1 1
/dev/disk/by-id/scsi-SATA_MAXTOR_STM35003_9QM357QE-part5 /                    ext3       acl,user_xattr 0 0
/dev/disk/by-id/scsi-SATA_SAMSUNG_SP2504CS09QJ1UP109613-part2 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_MAXTOR_STM35003_9QM357QE-part1 /windows/D           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_MAXTOR_STM35003_9QM357QE-part2 /windows/E           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_MAXTOR_STM35003_9QM357QE-part7 swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/fd0             /media/floppy        auto       noauto,user,sync      0 0

================================== sdb8/boot: ==================================

total 9684
drwxr-xr-x  3 root root    4096 2008-12-21 17:42 .
drwxr-xr-x 21 root root    4096 2009-01-04 19:59 ..
-rw-------  1 root root     512 2008-12-21 16:32 backup_mbr
lrwxrwxrwx  1 root root       1 2008-12-21 16:21 boot -> .
-rw-r--r--  1 root root   80530 2007-09-24 20:55 config-2.6.22.5-31-bigsmp
drwxr-xr-x  2 root root    4096 2009-01-03 22:01 grub
lrwxrwxrwx  1 root root      25 2008-12-21 16:32 initrd -> initrd-2.6.22.5-31-bigsmp
-rw-r--r--  1 root root 4140013 2008-12-21 16:32 initrd-2.6.22.5-31-bigsmp
-rw-r--r--  1 root root  389632 2008-12-21 17:42 message
-rw-r--r--  1 root root   99234 2007-09-24 21:01 symsets-2.6.22.5-31-bigsmp.tar.gz
-rw-r--r--  1 root root  400687 2007-09-24 21:01 symtypes-2.6.22.5-31-bigsmp.gz
-rw-r--r--  1 root root  116317 2007-09-24 21:00 symvers-2.6.22.5-31-bigsmp.gz
-rw-r--r--  1 root root  843618 2007-09-24 20:45 System.map-2.6.22.5-31-bigsmp
-rwxr-xr-x  1 root root 2165804 2007-09-24 20:55 vmlinux-2.6.22.5-31-bigsmp.gz
lrwxrwxrwx  1 root root      26 2008-12-21 16:25 vmlinuz -> vmlinuz-2.6.22.5-31-bigsmp
-rw-r--r--  1 root root 1611260 2007-09-24 20:45 vmlinuz-2.6.22.5-31-bigsmp

=============================== sdb8/boot/grub: ===============================

total 228
drwxr-xr-x 2 root root   4096 2009-01-03 22:01 .
drwxr-xr-x 3 root root   4096 2008-12-21 17:42 ..
-rw------- 1 root root     10 2008-12-21 16:32 default
-rw------- 1 root root     45 2008-12-21 17:14 device.map
-rw------- 1 root root     45 2008-12-21 16:32 device.map.old
-rw-r--r-- 1 root root   7576 2007-09-21 23:59 e2fs_stage1_5
-rw-r--r-- 1 root root   7424 2007-09-21 23:59 fat_stage1_5
-rw-r--r-- 1 root root   6664 2007-09-21 23:59 ffs_stage1_5
-rw-r--r-- 1 root root   6656 2007-09-21 23:59 iso9660_stage1_5
-rw-r--r-- 1 root root   8128 2007-09-21 23:59 jfs_stage1_5
-rw------- 1 root root   1857 2009-01-03 22:01 menu.lst
-rw------- 1 root root   1597 2008-12-21 16:32 menu.lst.old
-rw-r--r-- 1 root root   6844 2007-09-21 23:59 minix_stage1_5
-rw-r--r-- 1 root root   9160 2007-09-21 23:59 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 2007-09-21 23:59 stage1
-rw-r--r-- 1 root root 103162 2008-12-21 16:32 stage2
-rw-r--r-- 1 root root   7004 2007-09-21 23:59 ufs2_stage1_5
-rw-r--r-- 1 root root   6228 2007-09-21 23:59 vstafs_stage1_5
-rw-r--r-- 1 root root   8820 2007-09-21 23:59 xfs_stage1_5

=========================== Unknown MBRs or Boot Sectors =======================

MFT Sector of /dev/sda2

00000000  46 49 4c 45 30 00 03 00  09 5c 00 02 00 00 00 00  |FILE0....\......|
00000010  01 00 01 00 38 00 01 00  a0 01 00 00 00 04 00 00  |....8...........|
00000020  00 00 00 00 00 00 00 00  06 00 00 00 00 00 00 00  |................|
00000030  04 00 00 00 00 00 00 00  10 00 00 00 60 00 00 00  |............`...|
00000040  00 00 18 00 00 00 00 00  48 00 00 00 18 00 00 00  |........H.......|
00000050  30 95 83 04 fd 62 c9 01  30 95 83 04 fd 62 c9 01  |0....b..0....b..|
*
00000070  06 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000080  00 00 00 00 00 01 00 00  00 00 00 00 00 00 00 00  |................|
00000090  00 00 00 00 00 00 00 00  30 00 00 00 68 00 00 00  |........0...h...|
000000a0  00 00 18 00 00 00 03 00  4a 00 00 00 18 00 01 00  |........J.......|
000000b0  05 00 00 00 00 00 05 00  30 95 83 04 fd 62 c9 01  |........0....b..|
000000c0  30 95 83 04 fd 62 c9 01  30 95 83 04 fd 62 c9 01  |0....b..0....b..|
000000d0  30 95 83 04 fd 62 c9 01  00 40 00 00 00 00 00 00  |0....b...@......|
000000e0  00 40 00 00 00 00 00 00  06 00 00 00 00 00 00 00  |.@..............|
000000f0  04 03 24 00 4d 00 46 00  54 00 00 00 00 00 00 00  |..$.M.F.T.......|
00000100  80 00 00 00 48 00 00 00  01 00 40 00 00 00 01 00  |....H.....@.....|
00000110  00 00 00 00 00 00 00 00  1f 00 00 00 00 00 00 00  |................|
00000120  40 00 00 00 00 00 00 00  00 00 02 00 00 00 00 00  |@...............|
00000130  00 00 02 00 00 00 00 00  00 00 02 00 00 00 00 00  |................|
00000140  31 20 00 00 0c 00 ff ff  b0 00 00 00 50 00 00 00  |1 ..........P...|
00000150  01 00 40 00 00 00 05 00  00 00 00 00 00 00 00 00  |..@.............|
00000160  01 00 00 00 00 00 00 00  40 00 00 00 00 00 00 00  |........@.......|
00000170  00 20 00 00 00 00 00 00  08 10 00 00 00 00 00 00  |. ..............|
00000180  08 10 00 00 00 00 00 00  31 01 ff ff 0b 31 01 83  |........1....1..|
00000190  74 29 00 01 60 fa ff ff  ff ff ff ff 00 00 00 00  |t)..`...........|
000001a0  00 00 01 00 00 00 00 00  31 10 00 00 0c 00 ff ff  |........1.......|
000001b0  b0 00 00 00 48 00 00 00  01 00 40 00 00 00 05 00  |....H.....@.....|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  40 00 00 00 00 00 00 00  00 10 00 00 00 00 00 00  |@...............|
000001e0  08 00 00 00 00 00 00 00  08 00 00 00 00 00 00 00  |................|
000001f0  31 01 ff ff 0b 00 00 00  ff ff ff ff 00 00 04 00  |1...............|
00000200
MFT Sector of /dev/sdb1

00000000  46 49 4c 45 2a 00 03 00  6c db 09 09 00 00 00 00  |FILE*...l.......|
00000010  01 00 01 00 30 00 01 00  a0 01 00 00 00 04 00 00  |....0...........|
00000020  00 00 00 00 00 00 00 00  06 00 55 00 00 00 00 00  |..........U.....|
00000030  10 00 00 00 60 00 00 00  00 00 18 00 00 00 01 00  |....`...........|
00000040  48 00 00 00 18 00 00 00  00 be 8e 01 e3 62 c9 01  |H............b..|
00000050  00 be 8e 01 e3 62 c9 01  00 be 8e 01 e3 62 c9 01  |.....b.......b..|
00000060  00 be 8e 01 e3 62 c9 01  06 00 00 00 00 00 00 00  |.....b..........|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 01 00 00  |................|
00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  30 00 00 00 68 00 00 00  00 00 18 00 00 00 02 00  |0...h...........|
000000a0  4a 00 00 00 18 00 01 00  05 00 00 00 00 00 05 00  |J...............|
000000b0  00 be 8e 01 e3 62 c9 01  00 be 8e 01 e3 62 c9 01  |.....b.......b..|
*
000000d0  00 40 00 00 00 00 00 00  00 40 00 00 00 00 00 00  |.@.......@......|
000000e0  06 00 00 00 00 00 00 00  04 03 24 00 4d 00 46 00  |..........$.M.F.|
000000f0  54 00 00 00 00 00 00 00  80 00 00 00 50 00 00 00  |T...........P...|
00000100  01 00 40 00 00 00 04 00  00 00 00 00 00 00 00 00  |..@.............|
00000110  1f 39 00 00 00 00 00 00  40 00 00 00 00 00 00 00  |.9......@.......|
00000120  00 00 92 03 00 00 00 00  00 00 92 03 00 00 00 00  |................|
00000130  00 00 92 03 00 00 00 00  11 04 02 32 1c 39 5e 0b  |...........2.9^.|
00000140  01 00 ad 01 60 fa ff ff  b0 00 00 00 50 00 00 00  |....`.......P...|
00000150  01 00 40 00 00 00 05 00  00 00 00 00 00 00 00 00  |..@.............|
00000160  02 00 00 00 00 00 00 00  40 00 00 00 00 00 00 00  |........@.......|
00000170  00 30 00 00 00 00 00 00  08 20 00 00 00 00 00 00  |.0....... ......|
00000180  08 20 00 00 00 00 00 00  11 01 01 21 01 38 4e 31  |. .........!.8N1|
00000190  01 64 9e 17 00 fa ff ff  ff ff ff ff 00 00 00 00  |.d..............|
000001a0  11 04 02 31 0c 5e 0b 01  00 fd 8c 01 60 fa ff ff  |...1.^......`...|
000001b0  b0 00 00 00 48 00 00 00  01 00 40 00 00 00 05 00  |....H.....@.....|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  40 00 00 00 00 00 00 00  00 10 00 00 00 00 00 00  |@...............|
000001e0  08 00 00 00 00 00 00 00  08 00 00 00 00 00 00 00  |................|
000001f0  11 01 01 00 00 00 00 00  ff ff ff ff 00 00 55 00  |..............U.|
00000200
MFT Sector of /dev/sdb2

00000000  46 49 4c 45 2a 00 03 00  34 f6 77 08 00 00 00 00  |FILE*...4.w.....|
00000010  01 00 01 00 30 00 01 00  a0 01 00 00 00 04 00 00  |....0...........|
00000020  00 00 00 00 00 00 00 00  06 00 2a 00 00 00 00 00  |..........*.....|
00000030  10 00 00 00 60 00 00 00  00 00 18 00 00 00 01 00  |....`...........|
00000040  48 00 00 00 18 00 00 00  80 54 27 02 e3 62 c9 01  |H........T'..b..|
00000050  80 54 27 02 e3 62 c9 01  80 54 27 02 e3 62 c9 01  |.T'..b...T'..b..|
00000060  80 54 27 02 e3 62 c9 01  06 00 00 00 00 00 00 00  |.T'..b..........|
00000070  00 00 00 00 00 00 00 00  00 00 00 00 00 01 00 00  |................|
00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000090  30 00 00 00 68 00 00 00  00 00 18 00 00 00 02 00  |0...h...........|
000000a0  4a 00 00 00 18 00 01 00  05 00 00 00 00 00 05 00  |J...............|
000000b0  80 54 27 02 e3 62 c9 01  80 54 27 02 e3 62 c9 01  |.T'..b...T'..b..|
*
000000d0  00 40 00 00 00 00 00 00  00 40 00 00 00 00 00 00  |.@.......@......|
000000e0  06 00 00 00 00 00 00 00  04 03 24 00 4d 00 46 00  |..........$.M.F.|
000000f0  54 00 00 00 00 00 00 00  80 00 00 00 50 00 00 00  |T...........P...|
00000100  01 00 40 00 00 00 04 00  00 00 00 00 00 00 00 00  |..@.............|
00000110  6f 23 00 00 00 00 00 00  40 00 00 00 00 00 00 00  |o#......@.......|
00000120  00 00 37 02 00 00 00 00  00 00 37 02 00 00 00 00  |..7.......7.....|
00000130  00 00 37 02 00 00 00 00  11 04 02 32 6c 23 9e 0a  |..7........2l#..|
00000140  01 00 01 00 00 20 6f 8c  b0 00 00 00 50 00 00 00  |..... o.....P...|
00000150  01 00 40 00 00 00 05 00  00 00 00 00 00 00 00 00  |..@.............|
00000160  02 00 00 00 00 00 00 00  40 00 00 00 00 00 00 00  |........@.......|
00000170  00 30 00 00 00 00 00 00  08 20 00 00 00 00 00 00  |.0....... ......|
00000180  08 20 00 00 00 00 00 00  11 01 01 31 01 8f 02 01  |. .........1....|
00000190  31 01 5a 93 11 00 44 83  ff ff ff ff 00 00 00 00  |1.Z...D.........|
000001a0  11 04 02 31 0c 9e 0a 01  00 fd 8c 01 60 fa ff ff  |...1........`...|
000001b0  b0 00 00 00 48 00 00 00  01 00 40 00 00 00 05 00  |....H.....@.....|
000001c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  40 00 00 00 00 00 00 00  00 10 00 00 00 00 00 00  |@...............|
000001e0  08 00 00 00 00 00 00 00  08 00 00 00 00 00 00 00  |................|
000001f0  11 01 01 00 00 00 00 00  ff ff ff ff 00 00 2a 00  |..............*.|
00000200

=============================== StdErr Messages: ===============================

hexdump: stdin: Illegal seek.
hexdump: stdin: Illegal seek.
hexdump: stdin: Illegal seek.
hexdump: stdin: Illegal seek.
hexdump: stdin: Illegal seek.
hexdump: stdin: Illegal seek.
hexdump: stdin: Illegal seek.
cat: sdb5/etc/issue: No such file or directory
 
Old 01-04-2009, 03:10 PM   #41
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
OK, according to the results of the script, it is clear you are booting your sda drive on start up, so it is (hd0), and since the sdb drive is your only other drive, that means it must be (hd1) on start up. Therefore, your Mandriva Grub entries should use (hd1,4), but currently your Mandriva menu.lst uses (hd0,4) in all the entries. Also, since your Mandriva install uses gfxmenu, you might want to boot it using the chainloader technique so you can get the eye candy that you would expect with gfxmenu. How about trying the following as root user:
Code:
mkdir /tmp/sdb5
mount /dev/sdb5 /tmp/sdb5
cp /tmp/sdb5/usr/lib/grub/*/stage2 /tmp/sdb5/boot/grub
gedit /tmp/sdb5/boot/grub/menu.lst
Change "gedit" to "kate" if you are using KDE instead of Gnome; also the cp command above is to copy a fresh Grub stage2 file to your Mandriva /boot/grub directory, because your Mandriva's current stage2 file incorrectly points to the first partition for the menu.lst. In the menu.lst that pops up with gedit/kate, modify all your Mandriva entries to use (hd1,4) instead of (hd0,4), similar to:
Code:
title linux
kernel (hd1,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=6460a523-8375-40e3-9958-31c179210b3a  resume=UUID=743165c2-5731-4133-9976-0fc7fd90d02c splash=silent vga=788
initrd (hd1,4)/boot/initrd.img
You might also want to change the "title" line to Mandriva, rather than just "linux" as the menu.lst currently uses. Then in your OpenSUSE menu.lst, change the Mandriva entry to:
Code:
title Mandriva Grub menu
root (hd1,4)
chainloader +1
And then I think you should be able to boot Mandriva OK. How about giving it a shot and let us know how it goes.

Last edited by CJS; 01-04-2009 at 03:16 PM.
 
Old 01-04-2009, 03:46 PM   #42
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
CJS

Before executing the commands you suggested, I would like to know a few things.

I didn't install anything on sda drive.

I installed everything on sdb drive.

I installed Windows Vista and Windows 2008 server on sdb1 and sdb2:

I installed Ubuntu on sdb3.

Above 3 operating systems comes on to the screen. I don't have any problems.

Even open SuSE 10.3 comes to the screen.

I installed it on sdb8.

I installed Mandriva on sdb5.

My sdb4 is an extended partition.

I didn't install anything on sda drive, as yet.

Am I wrong?

You browsed the file and gathered information.
-----------------------------------------------------------------------------------------------------------
I hope to install open SuSE 11.1 and Slackware 12.0 on sda when time permits.

I have downloaded them.
 
Old 01-04-2009, 03:56 PM   #43
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
Quote:
Originally Posted by Gins View Post
CJS

Before executing the commands you suggested, I would like to know a few things.

I didn't install anything on sda drive.

I installed everything on sdb drive.

I installed Windows Vista and Windows 2008 server on sdb1 and sdb2:

I installed Ubuntu on sdb3.

Above 3 operating systems comes on to the screen. I don't have any problems.
Actually when you installed your distros on the sdb drive, most distros by default install Grub to the MBR (Master Boot Record) of /dev/sda, which they assume to be the drive you boot from. So you do have Grub currently installed to the MBR of your sda Vista drive, and it points to OpenSUSE on your sdb drive for its boot files (menu.lst and stage2). Also, the reason you can boot Ubuntu and OpenSUSE OK is because their entries in the menu.lst use (hd1,2) and (hd1,7) respectively; that would mean that Mandriva, being on the same drive, must use (hd1,4) rather than (hd0,4), because (hd0) is your Windows drive and (hd1) is your Linux drive. Grub on start up sees the order of drives the same as the BIOS boot order, so whichever drive you boot from is (hd0), and the other drives will then be (hd1), (hd2), etc.
 
Old 01-04-2009, 04:10 PM   #44
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
CJS

Code:
ni@SuseLinux103:~> su root
Password:
SuseLinux103:/home/ni # mkdir /tmp/sdb5
SuseLinux103:/home/ni # mount /dev/sdb5 /tmp/sdb5
SuseLinux103:/home/ni # 

The following didn't work. 
Have you made an error?
SuseLinux103:/home/ni # cp /tmp/sdb5/usr/lib/grub/*/stage2 /tmp/sdb5/boot/grub
cp: cannot stat `/tmp/sdb5/usr/lib/grub/*/stage2': No such file or directory
SuseLinux103:/home/ni #
 
Old 01-04-2009, 05:02 PM   #45
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
The /usr/lib/grub/*/* directory is typically where Grub keeps its original stage files in the distros I've used, but I haven't used Mandriva, so I could be wrong for Mandriva. Since you can't copy over the stage2 file, try this instead (while you still have sdb5 mounted on /tmp/sdb5), and please post the output:
Code:
mount --bind /dev /tmp/sdb5/dev
mount --bind /proc /tmp/sdb5/proc
chroot /tmp/sdb5
grub
grub> root (hd1,4)
grub> setup (hd1,4)
grub> quit
exit
And we can work from there.
 
  


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
How to restore boot loader on Mandriva 09 dual boot ... pruned parts 2 Javad_Ed Mandriva 8 01-06-2009 04:11 PM
How to restore boot loader on Mandriva 09 dual boot with Suse 11.0 ? dolphans1 Mandriva 10 01-06-2009 03:43 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:24 AM.

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