zillah

Members
  • Content Count

    46
  • Joined

  • Last visited

Posts posted by zillah

  1. That has nothing to do with it being 0xaf or 0xbf.. that is a partition header.. Grub will look at the partition header and if it knows what it is, will mount it.. if not you have the rootover to tell it not to mount..

    See this quoted form the link below:

    http://www.knoppix.net/forum/viewtopic.php?p=97594#97594

    What will the case be if I create partitions "Type"

    a- Solaris (BF)

    b- Linux swap (83)

    c- Linux ext3 (82)

    ----

    ---

    ---

    ---

    do I need to format them in order to be recognized by Solaris OS or Linux OS ?

  2. it should be hd0,0 did Fedora write this grub? as it would be how you would boot and unknown (to grub) file system like ntfs

    Yes,,,,By the way I can boot the system with Linux FC4.

    you can fix a partition header with fdisk or cfdisk (I like cfdisk for speed as I have to look up fdisk paramaters)

    I had alreday used cfdisk form Knoppix CD, to create partitions for second hard disks.

    cfdisk /dev/hdb

    choose partition

    select type (type in bf)

    write

    exit

    I am going to redo it again by using cfdisk form Knoppix CD,,,but at this stage this is not my problem,,,the problem I can not boot to Windows

  3. You initially said XP was on your master, and ubuntu on your slave. According to your grub.conf, it seems to be the opposite.

    [root@localname]# fdisk -l

    Disk /dev/hda: 40.0 GB, 40016019456 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 1 1824 14651248+ 7 HPFS/NTFS
    /dev/hda2 1825 2432 4883760 c W95 FAT32 (LBA)
    /dev/hda3 * 2433 4865 19543072+ 7 HPFS/NTFS

    Disk /dev/hdb: 40.0 GB, 40020664320 bytes
    255 heads, 63 sectors/track, 4865 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 2432 19535008+ af Unknown
    /dev/hdb2 * 2433 3040 4883760 7 HPFS/NTFS
    /dev/hdb3 3041 3101 489982+ 82 Linux swap / Solaris
    /dev/hdb4 3102 4865 14169330 83 Linux

    Disk /dev/sda: 262 MB, 262144000 bytes
    255 heads, 63 sectors/track, 31 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 32 257008+ b W95 FAT32
    Partition 1 has different physical/logical endings:
    phys=(30, 254, 63) logical=(31, 254, 63)








    gedit /boot/grub/menu.lst

    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You do not have a /boot partition. This means that
    # all kernel and initrd paths are relative to /, eg.
    # root (hd0,3)
    # kernel /boot/vmlinuz-version ro root=/dev/hdb4
    # initrd /boot/initrd-version.img
    #boot=/dev/hdb
    default=0
    timeout=15
    splashimage=(hd0,3)/boot/grub/splash.xpm.gz
    #hiddenmenu
    title Fedora Core (2.6.11-1.1369_FC4)
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.11-1.1369_FC4.img
    title Windows
    rootnoverify (hd1,0)
    chainloader +1

  4. Have you tried changing the line to rootnoverify (hd0,0)?

    Yes I did, It did not work.

    I have got very strange thing, when I checked the grub.conf,,,I found this :

    title Fedora Core (2.6.11-1.1369_FC4)

    root (hd 0,3)

    Kernel-----------------

    My linux partitions on hdb not hda,,,how does the root become hd0 ?

    Linux FC4 can boot normaly without any problem.,,,,,Do I need to modify it as well ?

  5. I have got two HDs, each one 40 GB. Connected to one cable to IDE0 (one hard disk master and the other is slave).

    First HD (master or hda) is divided to :

    15 GB NTFS for XP, 5 GB FAT32 for Storage, and 20 GB NTFS for win2003,,,,I had already installed both windows (XP and 2003).

    Second HD (slave or hdb) is divided to :

    20 GB Solaris (hdb1,,,to be installed later) , 5 GB NTFS for Storage (hdb2) , 500 MB Linux swap (hdb3), 14.5 GB ext3 Linux (hdb4).

    I installed Linux FC4 on hdb4 and chose the option for GRUB bootloader to be installed on : " /dev/hda Master Boot Record (MBR) ".

    When I finished the installation of Linux, I was greeted by GRUB.

    When I tried to boot into windows, I received this message :

    Booting "Windows"

    rootnoverify (hd1,0)

    chaninloader+1

    Why was the partition for windows numbered with hd1,0,,,,it should be hd0 because both windows were installed on the first hard disk (i.e hd0, not hd1) ?

    When I checked the /etc/grub.conf,,,,I found two entry one for Fedora and the other for windows, with same number (hd1)

  6. I downloded Mandrake OS official 10.1 ,,,Test media was ok, and SHA1 was ok for all 4 CDs.

    I tried to install GCC through: Software manager-->select the development program group-->install GCC.

    I received the message below during installation:

    Verifying Package Installation :

    The following package have bad signatures:libstdctts-devel-3.3.4mak.i586.rpm. Invalid signature ( (SHA1) DSA sha1 md5 (GPG) (MISSING KEY) GPG # 78d019f5 NoT ok ).

    Do you want to continue installation-------I pressed yes.

    When I checked these command:

    1- which gcc

    2- gcc --version

    3- rpm -q gcc

    It showed me that It has not been installed.

    How can I overcome this issue ?

  7. I think your ide devices are labled like this:

    ide0 master /dev/hda -first

    ide1 slave /dev/hdb -second

    ide2 master /dev/hdc -third

    ide3 slave /dev/hdd -fourth

    In your motherboard you have two IDEs (controllers) which are IDE0 (primary) and IDE1 (secondary).

    In each IDE you can two hard disks master and slave,,,That means :

    1- You have primary master (Linux hda) and primary slave (Linux hdb).----If both HD are connected to one cable to IDE0 (primary) then linux will name them hda and hdb respectivly

    2- You have secondary master (Linux hdc) and secondary slave (Linux hdd).------If both HD are connected to one cable to IDE1 secondary then linux will name them hdc and hdd respectivly

  8. Thanks shanenin for this nice and detailed explaination

    /dev/hda is your first ide(primary) drive, /dev/hdb is your second ide(slave) drive.

    You meant salve on the first ide (primary), not second. Because for second ide it will be named as hdc and hdd,,,,,,,,,,didn't you ?

    /dev/hda2			3825		3848	  192780   83  Linux

    What have been installed here ?

    Again thanks for this explaination

  9. I have got Linux FC4 , I forgot password for root.

    How can I recover it through rescue CD1 (I did it through GRUB), but I am looking to do it through CD1

    I used FC4 CD1 to boot PC in rescue mode

    1- F5 for recue mode

    2- Type in : rescue mode----press Enter.

    2- chroot /mnt/sysimage

    3- Sh-2.95b # passwd root,,,,the output was :

    Passwd: system_u:system_r:anaconda_t is not authorized to change the password of root

    4- I tried type in : passwd (with out word "root" see step 3)

    Where is my mistake ?