changed the root partition number resulting in panic


Results 1 to 7 of 7

Thread: changed the root partition number resulting in panic

  1. #1
    Join Date
    Sep 2002
    Posts
    334

    changed the root partition number resulting in panic

    i went and installed BeOS on my hard drive cos i like it. stupidly i changed the number of my linux partitions and cant boot into debian getting a kernel panic, is there a way to fix this or is it lost.

    thanx

  2. #2
    Join Date
    Apr 2003
    Location
    Oklahoma
    Posts
    559
    I would think all you need is a rescue disk or live cd (if BeOS can't mount and write to linux partitions) then just edit your fstab to reflect the changes.

  3. #3
    Join Date
    Apr 2003
    Location
    UK
    Posts
    1,180
    You will also have to alter your lilo.conf or grub.conf to reflect the change, depending on which bootloader you use. Don't forget to run lilo after editing lilo.conf, if you use lilo.

  4. #4
    Join Date
    Feb 2003
    Location
    Minnesota
    Posts
    268
    I use lilo, and to get the root partition to mount correctly, you just need to add
    Code:
    root=/dev/hda
    after the image name (if you don't see it, hit tab). Also change hda to whatever your root partition is.
    Linux has changed me...
    I'm a GNU man now!

  5. #5
    Join Date
    Aug 2003
    Location
    Rabat, Morroco
    Posts
    78
    if you're using grub press c when grub is loaded,then you'll get a prompt,just type your linux entry there
    (eg)

    root (hd0,0) // hd0 is the first ide master device (hda), the 0 is partition 1
    kernel /boot/vmlinuz root=/dev/hda1 //linux naming scheme here
    boot

  6. #6
    Join Date
    Dec 1999
    Location
    Toronto
    Posts
    39,307

    Re: changed the root partition number resulting in panic

    Originally posted by mr orion77
    i went and installed BeOS on my hard drive cos i like it. stupidly i changed the number of my linux partitions and cant boot into debian getting a kernel panic, is there a way to fix this or is it lost.
    Including the bootloader you are using and the new partition setup would certainly help us to help you.
    SEARCH FIRST... ASK SECOND Read the JL 'Community Help Posting Guidelines' before posting in the forums.

    Precompiled Redhat NTFS Modules

    Linuxplanet Tutorials

    If Linux doesn't have the solution, you have the wrong problem. ... Please do not send me a PM asking for help...

    Please read the search suggestion thread in JL Ideas

  7. #7
    Join Date
    Sep 2002
    Posts
    334
    i never expected a reply to be honest.
    heres the setup

    new setup
    partition 1 windows
    partition 2 beos
    partition 6 swap
    partition 7 root filesystem
    partition 8 home

    original setup
    partition 1 windows
    partition 2 windows extra space
    partition 5 swap
    partition 6 root
    partition 7 home

    im now using the BeOS bootloader
    where i previously used lilo.

    remember that band ugly kid joe, whats the song they had about 'little boy blue and the man on the moon, cats and silver spoons' its on the radio. random moment

Posting Permissions

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