LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Sabayon
User Name
Password
Sabayon This forum is for the discussion of Sabayon Linux.

Notices

Reply
 
Search this Thread
Old 06-07-2009, 10:46 AM   #1
azteka22
LQ Newbie
 
Registered: May 2009
Location: Raleigh, NC
Distribution: Redhat & Ubuntu
Posts: 15

Rep: Reputation: 1
Cannot Boot Sabayon with RHEL


Hey,

I was using Sabayon 4.1 couple days ago and everything was fine, then I also installed Windows Vista on my laptop and it worked fine i could dual boot into both of them. Then I decided to install Red Hat and ever since i could not figure out how to boot into Sabayon again. This is what I get when I try to boot into Sabayon:

'Booting Sabayon Linux x86 (genkernel-x16-2.6.27-sabayon)

root (hd0,1)
Filesystem is ext2fs, partition type 0x83
kernel /kernel/genkernel-x86-2.6.27-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=93d82433-e095-4d4e-8227-0ef8eabf2ef dolvm quiet init=/linuxrc splash=quiet,theme=sabayon vga=791 CONSOLE=/dev/tty1 resume=swap:/dev/sda3

Error 2: bad file name or Directory type.

Press any key to continue...

I looked up Error 2: bad file name or Directory type on google and i got information saying error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO.

this is how my menu.list looks on Red Hat:

title Red Hat Enterprise Linux (2.6.16-53.el5)
root (hd0,4)
kernel /vmlinuz-2.6.18-53.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-53.el5.img

title Sabayon
root (hd0,1)
kernel /kernel/genkernel-x86-2.6.27-sabayon root=/dev/ram0 ramdisk=8192 real_root=UUID=93d82433-e095-4d4e-8227-0ef8eabf2ef dolvm quiet init=/linuxrc splash=quiet,theme=sabayon vga=791 CONSOLE=/dev/tty1
initrd /initramfs-genkernel-x86-2.6.27-sabayon

title Windows
rootnoverify (hd0,0)
chainloader +1

Supposedly if i get Error 2 bad file name it says its not a regular file.. but i got the file name from sabayons menu.list.. how could it be corrupted or something??
any help plzz?
thx
 
Old 06-08-2009, 04:49 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,331

Rep: Reputation: 141Reputation: 141
Try changing your Sabayon entry to the following:

title Sabayon
root (hd0,1)
configfile /boot/grub/menu.lst

That will cause your RHEL bootloader to chain load the Sabayon bootloader. After selecting Sabayon in RHEL, Sabayon's grub boot selection screen should come up. Select the boot selection in this screen that you would normally use to boot Sabayon.

If you get the same error, then the UUID of your Sabayon partition probably changed when you installed RHEL.You can check that by running as root:

# blkid -s UUID

which will print out the uuids of all your partitions. Compare your sabayon partition uuid with the one given in your grub entry.
 
Old 06-08-2009, 05:58 PM   #3
azteka22
LQ Newbie
 
Registered: May 2009
Location: Raleigh, NC
Distribution: Redhat & Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 1
ya thats what happen wen i installed RHEL it took over Sabayons boot partition. I tried using the supergrub disk to boot into Sabayon and had no luck. Finally I just reinstalled sabayon again i didnt see this post until today but im sure it would of helped.

Thanks for your help anyway

Quote:
Originally Posted by kilgoretrout View Post
Try changing your Sabayon entry to the following:

title Sabayon
root (hd0,1)
configfile /boot/grub/menu.lst

That will cause your RHEL bootloader to chain load the Sabayon bootloader. After selecting Sabayon in RHEL, Sabayon's grub boot selection screen should come up. Select the boot selection in this screen that you would normally use to boot Sabayon.

If you get the same error, then the UUID of your Sabayon partition probably changed when you installed RHEL.You can check that by running as root:

# blkid -s UUID

which will print out the uuids of all your partitions. Compare your sabayon partition uuid with the one given in your grub entry.
 
Old 06-08-2009, 07:10 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Reading the UUIDs, it looked to me that the two entries for sabayon and rhel were using the same root partition in both of the stanzas. I would expect the two distro's to have different root partitions. One of them may have been wrong.

If you install a second or third distro, I'd recommend installing GRUB to the root partitions MBR for the respective distro, and chainloading, or editing the menu.lst file of the first distro installed. Alwas update grub on the same partition. You could end up in a dueling distro's situation otherwise.
 
  


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
Boot failing on HP ProLiant DL360 G4 running Sabayon 3.4 orcberg Linux - Server 9 05-28-2008 01:42 PM
Sabayon Boot help sirusx69 Linux - Newbie 1 01-18-2008 01:38 PM
cannot boot from cd /dvd since installing sabayon tim1957 Linux - Newbie 2 11-18-2007 02:58 AM
Sabayon speed up boot process AustinMarton Linux - Laptop and Netbook 0 11-13-2007 03:33 AM
Dual boot problem w/ Sabayon JediDrunk Linux - Newbie 13 10-28-2007 04:34 AM


All times are GMT -5. The time now is 04:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration