Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 24 of 24
Well, that finally did it ! The boot labels in Fedora and RedHat did that the system wouldenīt boot properly. By changeing my fstab and grub.conf it just worked like ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Just Joined!
    Join Date
    Jun 2005
    Posts
    13

    Success !!!!




    Well, that finally did it !

    The boot labels in Fedora and RedHat did that the system wouldenīt boot properly. By changeing my fstab and grub.conf it just worked like a charm.

    Here is my new RedHat fstab
    /dev/hdc6 / ext3 defaults 1 1
    /dev/hdc1 /boot ext3 defaults 1 2
    none /dev/pts devpts gid=5,mode=620 0 0
    /dev/hdc2 /home ext3 defaults 1 2
    none /proc proc defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    /dev/hdc3 /var ext3 defaults 1 2
    /dev/hdc5 swap swap defaults 0 0
    /dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
    /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
    And here is my new RedHat grub.conf
    default=1
    timeout=30
    splashimage=(hd2,0)/grub/splash.xpm.gz
    title Red Hat Enterprise Linux ES (2.4.21-32.0.1.EL)
    root (hd2,0)
    kernel /vmlinuz-2.4.21-32.0.1.EL ro root=/dev/hdc6
    initrd /initrd-2.4.21-32.0.1.EL.img
    title Red Hat Enterprise Linux ES (2.4.21-32.0.1.ELsmp)
    ...
    So just change the labels to the device name instead !

    Next thing is to do the same thing om my other disc (Fedora).


    But i canīt say why RedHat uses Labels, i find it a bit confusing



    Many thanks for your support !!!!

    Best regards.

    WikiDude

  2. #22
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Hey WikiDude I'm glad you got it all settup
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #23
    Just Joined!
    Join Date
    Jun 2005
    Location
    SC
    Posts
    7
    Quote Originally Posted by wikidude
    Hey !

    Maybe this could be the solution ?

    Here is a guy that had the same problem (?)
    http://lists.slug.org.au/archives/sl.../msg00183.html

    And the answer (and solution ?)
    http://lists.slug.org.au/archives/sl.../msg00186.html

    By default, RH uses volume labels rather than device names to mount its
    partitions. Fedora probably does the same. So /etc/fstab has lines
    like these:

    LABEL=/ / ext3 defaults 1 1
    LABEL=/home /home ext3 defaults 1 2

    You need to change /etc/fstab on *both* to use the device names rather
    than labels, e.g.:

    /dev/hda1 / ext3 defaults 1 1
    /dev/hda2 /home ext3 defaults 1 2
    Sounds like that could be the conflict !
    So Fedora & RedHat (or several RadHat/Fedora ) would result in a conflict on the same PC without changing the fstab. If this is the truth then itīs madness i think. Why invent something like that ?

    I will do some more "googeling" and try this thing the next thing tomorrow.
    Is there any risk that a change as the example could scr*w my system. If soo, is there any nice boot-disc that could bring me a bash shell to let me undo my changes (restore my orignal fstab),.

    regards.

    the dude.
    This seems like the solution to my RH9/Fedora 3 dual hard disk problem....however...I am unclear on how to start this. Should I
    a) boot to linux rh9 rescue to change the fstab and grub
    or
    b) able to make these changes in fc3
    being new to the file systems- I am thinking the following:
    su -
    password:
    /mnt/dev/hdb
    vi /etc/fstab
    change what the post suggest
    esc ctrl zz then
    vi /boot/grub/grub.conf
    esc ctrl zz
    one of my other questions may be am I adding the /dev/hdb2 under LABEL=/ (?) or deleting Label=
    I apologize for asking these simple questions but I have tried for the last two weeks with numorous configs to boot to rh9---got a little further than before but now I'm stuck.
    grub config:
    title fedora core
    root (hd0,0)
    kernel /vmlinuz-2.6.11-1.35_fc3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.11-1.35_fc3.img
    title rh9
    root (hd1,0)
    kernel /vmlinuz-2.4.20-8 ro root=/dev/hdb2
    initrd /initrd-2.4.20-8.img

    fstab:
    /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    LABEL=/boot1 /boot ext3 defauts 1 2

    Thanks in advance....

  4. #24
    Just Joined!
    Join Date
    Jun 2005
    Posts
    13
    Ping !

    Well i think you could do this by several ways.
    Most important and the first step would be to make backup of your grub.conf and fstab before doing anything.

    Next step, to make the needed changes in grub.conf & fstab could be done directly in the filesystem (if you manage to boot the os) or via some nice boot-disc that can give you access to the filesystem/files.

    Canīt really say what would be the most easy way for you.
    But this issue isenīt anything for the linux novice.

    Be 100% sure of youīre doing and what mount-points & devīs your system is using.

    best of luck & donīt give up !

    Wikidude



    Quote Originally Posted by Sulblk27

    This seems like the solution to my RH9/Fedora 3 dual hard disk problem....however...I am unclear on how to start this. Should I
    a) boot to linux rh9 rescue to change the fstab and grub
    or
    b) able to make these changes in fc3
    being new to the file systems- I am thinking the following:
    su -
    password:
    /mnt/dev/hdb
    vi /etc/fstab
    change what the post suggest
    esc ctrl zz then
    vi /boot/grub/grub.conf
    esc ctrl zz
    one of my other questions may be am I adding the /dev/hdb2 under LABEL=/ (?) or deleting Label=
    I apologize for asking these simple questions but I have tried for the last two weeks with numorous configs to boot to rh9---got a little further than before but now I'm stuck.
    grub config:
    title fedora core
    root (hd0,0)
    kernel /vmlinuz-2.6.11-1.35_fc3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    initrd /initrd-2.6.11-1.35_fc3.img
    title rh9
    root (hd1,0)
    kernel /vmlinuz-2.4.20-8 ro root=/dev/hdb2
    initrd /initrd-2.4.20-8.img

    fstab:
    /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    LABEL=/boot1 /boot ext3 defauts 1 2

    Thanks in advance....

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •