this linux is going over me... in need of hlp agn,..

Status
Not open for further replies.

mayanks_098

world is evil
c i was triple booting bw xp,vista,fiesty aftr i uninstalled sabayon as i cudnt get net wrkng on it.
i was succesfull to get net on ubuntu(thanks to pppoeconf).
inspired by this sucess,i thot of installng sab agn.
i installed sab agn n alas.
i had two options in grub
sabayon & other.on chosing other it takes me to vista's boot loader.i mean ubuntu is gone.how do i bring it back?

p.s. not to mention dat i stll cant get net on sabayon.
ne easy configuratn command lik "pppoeconf(in ubuntu)" 4 sabayon?
 

praka123

left this forum longback
^^ ubuntu is there!.just add ubuntu to ur /boot/grub/menu.lst
Code:
title           Ubuntu
root            (hd0,x)
kernel          /vmlinuz 
root=UUID= ro quiet splash
initrd          /initrd.img
quiet
savedefault
^^ just boot to sabayon.open a terminal and mount ur ubuntu partn.copy the ubuntu entry similar as listed above from ubuntu's /boot/grub/menu.lst to the end of sabayons /boot/grub/menu.lst.save and exit.remember only as root u can edit sabayons /boot/grub/menu.lst.Now in next boot u'll get Ubuntu too as an option.
read info grub or:
*www.gnu.org/software/grub/manual/grub.html
 

vish786

"The Gentleman"
praka123 said:
^^ ubuntu is there!.just add ubuntu to ur /boot/grub/menu.lst
Code:
title           Ubuntu
root            (hd0,x)
kernel          /vmlinuz 
root=UUID= ro quiet splash
initrd          /initrd.img
quiet
savedefault
^^ just boot to sabayon.open a terminal and mount ur ubuntu partn.copy the ubuntu entry similar as listed above from ubuntu's /boot/grub/menu.lst to the end of sabayons /boot/grub/menu.lst.save and exit.remember only as root u can edit sabayons /boot/grub/menu.lst.Now in next boot u'll get Ubuntu too as an option.
read info grub or:
*www.gnu.org/software/grub/manual/grub.html
i too hav lost my ubuntu partition(just the mount point is lost)... but mandriva is not at all displayin ubuntu partition... any help from ur side:)... and how do i come to know which is ubuntu partition on my hdd??
 
Last edited:

vish786

"The Gentleman"
mehulved said:
post the ouput of fdisk -l and contents of /etc/fstab
mandriva does not show ubuntu partition... it will show only in terminal when i log in as root(so i cannot do other operations graphically).... here's the pic

*www.imagehosting.com/show.php/662142_untitiled2.JPG.html

right now grub is showing only mandriva and win xp but not ubuntu... ubuntu partition is still existing on my hdd... here is the pics

*www.imagehosting.com/show.php/662143_untitiled.JPG.html

*www.imagehosting.com/show.php/662142_untitiled2.JPG.html

i want grub to show all the 3 operating system.

give me an universal solution, i mean it should work for openSuse or any other linux OS also if i install any OS in future ...
 

praka123

left this forum longback
first of all all distros choose to install its grub.so if ur using 3 distros,dont allow grub to be installed for all.allow only one distro have grub installed.for getting ubuntu in ur grub menu,mount ur ubuntu partn from ur distro.
Code:
~#mount /dev/sdb3   /mnt
now copy the ubuntu entries similar to what i posted from /mnt/boot/grub/menu.lst
now open an editor as root or in command line use nano editor,its easy.add the ubuntu entry after ur mandirva entry in mandriva's /boot/grub/menu.lst or /boot/grub/grub.conf.save(ctrl+o);exit(ctrl+x)-for nano editor.
Code:
~#nano -w  /boot/grub/menu.lst
Now u can simply add below lines and ubuntu will boot.but ubuntu uses uuid for partns.so copying the entry as above also is good.
for me,my feisty entry is as below.note the UUID entry.in that place u can simply use /dev/sdb3 too.ur kernel version may vary.note this:p
Code:
title           Ubuntu, kernel 2.6.20-15-386
root            (hd0,10)
kernel          /vmlinuz-2.6.20-15-386 root=UUID=a9a6ee77-07ea-48a7-8385-ea13ded
e513b ro quiet splash
initrd          /initrd.img-2.6.20-15-386
quiet
savedefault
Open suse -dont allow it to install LILO bootloader.just finish the installation and copy down the entry and paste it in the correct format in mandrivas grub.conf.next time say NO to any distro trying to install grub after install completion :p just use ur mandriva grub.
 

praka123

left this forum longback
Dude!first mount ubuntu partn as per ur image /dev/sdb3.open terminal as root user. just enter "su -" and give root passwd.you can be sure u got root terminal if its prompt have a "#" instead of local user's "$".now as per what i said if u followed.ur ubuntu partn is mounted @ /mnt directory.I hope u understood.
and ...no need to host this simple command o/ps!!!
just select copy and paste here using the code option!.
 
OP
mayanks_098

mayanks_098

world is evil
i did wat u suggested,copied the entry ffrom menu.lst of ubuntu to menu.lst of sabayon.
bt stll ubuntu is nt showng up in my boot.
i get 2 opt,sabayon & other
n pressing other im forwaded to windows boot loader(vista's)

can dis b a possibility dat aftr copyng files to menu.lst of sabayon,default time 4 ubuntu has been set to ZERO? i mean in dat case also ubuntu will nt appear.if it can b,den ne solution?

n regarding net.

i manually set my connectn using net-setup eth0(thanks mehul),it worked bt wen i rebooted it din wrk.
bt if i login as root im able to use net w/o any configuratn @ all.
i thnk dat nw my connectn is configured,i just need to start it. right?


wats d command to start ur net connectn?
 

praka123

left this forum longback
that Ubuntu entry must be copied to the portion of the file after ur sabayon entry and save.I dont see any chances of this errs,unless human one.most prolly u opened it as local user.open as root.
I boot Debian Sid+experimental and Ubuntu.this is my menu.lst from debian
Code:
title           Debian GNU/Linux Sid, kernel 2.6.20pjk1
root            (hd0,8)
kernel          /vmlinuz-2.6.20pjk1 root=/dev/sda10 ro vga=788 
initrd          /initrd.img-2.6.20pjk1
savedefault


### END DEBIAN AUTOMAGIC KERNELS LIST
title            Other Operating Systems
root



title           Ubuntu Feisty Fawn, kernel 2.6.20-15-386
root            (hd0,10)
kernel          /vmlinuz-2.6.20-15-386 root=UUID=a9a6ee77-07ea-48a7-8385-ea13dede513b ro quiet splash
initrd          /initrd.img-2.6.20-15-386
quiet
savedefault
^^see the ubuntu entry-just copy Ubuntu entry from ur mounted Ubuntu /mnt/boot/grub/menu.lst and then save as root into ur sabayon? /boot/grub/menu.lst as shown.
I dont use kde but GNOME :p then also I think u seems struggling to save the entries as root and editor nano.
so try this by pressing alt+f2 to get a run dialog
Code:
kdesu kate /boot/grub/menu.lst
^ Now copy the Ubuntu entry(starting wid title Ubuntu..) from /mnt/boot/grub/menu.lst to the kate editor.
 

vish786

"The Gentleman"
in mandriva nano editor is missing... but i did my work using vi editor now everything is workin finally. thank u guys
 
OP
mayanks_098

mayanks_098

world is evil
ok dis is my ubuntu's menu.lst

# grub.conf generated by anaconda
#
# 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,2)
# kernel /boot/kernel-genkernel real_root=/dev/sda3
# initrd /boot/initramfs-genkernel
#boot=/dev/sda
default=1
timeout=30
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Sabayon Linux x86 3.3
root (hd0,2)
kernel /boot/kernel-genkernel-x86-2.6.20-sabayon-r3 root=/dev/ram0 ramdisk=8192 real_root=/dev/sda3 quiet init=/linuxrc splash=silent,theme:sabayon vga=791 CONSOLE=/dev/tty1 dodmraid pci=nomsi
initrd /boot/initramfs-genkernel-x86-2.6.20-sabayon-r3

title Other
rootnoverify (hd0,0)
makeactive
chainloader +1

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,9)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=6570708c-9709-4f1e-9f0a-3ffa02e11e3c ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault







n dis is sabayon's after editing,i.e. aftr adding dose entry wch u askd me.


# menu.lst - See: grub(*www.chip-india.com/townsquare/images/smiles/icon_cool.gif, info grub, update-grub(*www.chip-india.com/townsquare/images/smiles/icon_cool.gif
# grub-install(*www.chip-india.com/townsquare/images/smiles/icon_cool.gif, grub-floppy(*www.chip-india.com/townsquare/images/smiles/icon_cool.gif,
# 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 change this entry to 'saved' 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 10

## 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=6570708c-9709-4f1e-9f0a-3ffa02e11e3c ro

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

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

## 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

## ## End Default Options ##

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,9)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=6570708c-9709-4f1e-9f0a-3ffa02e11e3c ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,9)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=6570708c-9709-4f1e-9f0a-3ffa02e11e3c ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,9)
kernel /boot/memtest86+.bin
quiet

### 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/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1






n if i hv done sumthng wrong den plz don yell @ me.aftr all im a noob.
hehe

thanks 4 ur support n patience guys

omg...
guys i hv no idea of wat d hell those emoticons r doin in bw menu.lst of sabayon.u ppl r smart,replace them with wats suitable..
 
Last edited:

vish786

"The Gentleman"
try this and tell me whether its working or not

# menu.lst - See: grub(, info grub, update-grub(
# grub-install(, grub-floppy(,
# 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 change this entry to 'saved' 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 10

## 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=6570708c-9709-4f1e-9f0a-3ffa02e11e3c ro

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

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

## 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

## ## End Default Options ##

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,9)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=6570708c-9709-4f1e-9f0a-3ffa02e11e3c ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,9)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=6570708c-9709-4f1e-9f0a-3ffa02e11e3c ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,9)
kernel /boot/memtest86+.bin
quiet

### 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/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1

title Ubuntu, kernel 2.6.20-15-generic
root (hd0,9)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=6570708c-9709-4f1e-9f0a-3ffa02e11e3c ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
 

praka123

left this forum longback
li'l more patience helps!!

Ur first entry is for sabayon and 2nd for Ubuntu ?
Code:
# grub.conf generated by anaconda

^^ this must be sabayon Linux.and everything seems fine with ur first post.So there must grub boot menu showing like Sabayon,Other and Ubuntu.
ur 2nd menu.lst is from Ubuntu.
I see no reason for Ubuntu entry not showing in ur grub menu.btwn after the "title" line for every OS u can give whatever name u want.for eg: if u got windows give: title Windows Vista RC2 etc...
Just check again.also from a terminal(Konsole or gnome-terminal) as root run
Code:
~#fdisk  -l
^^ copy paste the output of command from terminal to here.
 

bhushan2k

Genius in making mistakes
Hi guys. I need a help for installing linux on my pc. I m totally new for linux.
I want to install linux in dual boot with Win XP SP 2.
This is my config:
P4 1.8
VIA mobo (onboard vedio mem 32 MB)
1 GB DDR 333
40 GB HDD

1st Partition 10 GB (Win XP SP 2)
2nd Partition 27.31 GB (Unallocated)

I want to install Ubuntu 7.04. So how I can setup my partitions.

How many size will required for swap file (RAM is 1 GB) as well as for Ubuntu 7.04 and which file system will required for both.

Thanks.
 

vish786

"The Gentleman"
praka123 said:
:D ^^ hw can it work for @mayank dude?afterall the partitions and uuid's are different U know.

i dint use my uuid's of his partition... i just added few line from first menu.lst to second menu.lst ;)
 

praka123

left this forum longback
bhushan05d251 said:
I want to install linux in dual boot with Win XP SP 2.
This is my config:
P4 1.8
VIA mobo (onboard vedio mem 32 MB)
1 GB DDR 333
40 GB HDD
Do u have VIA onboard grafix?I too :( and Via doesnot yet have good drivers for Linux.just visit *viaarena.com linux section and see FOSS users cry:(
Now during install only "vesa" gfx is supported for ur card.later after install is complete try *openchrome.org *help.ubuntu.com/community/OpenChrome
create a swap of 300 MB and the Linux partn indicated as "/" around 5-6GB tats enough.
 

vish786

"The Gentleman"
praka123 said:
Do u have VIA onboard grafix?I too :( and Via doesnot yet have good drivers for Linux.just visit *viaarena.com linux section and see FOSS users cry:(
Now during install only "vesa" gfx is supported for ur card.later after install is complete try *openchrome.org *help.ubuntu.com/community/OpenChrome
create a swap of 300 MB and the Linux partn indicated as "/" around 5-6GB tats enough.

who told u tat, i also hav via mobo... drivers are already present in mobo cd... and u can also download from net.

*www.viaarena.com/default.aspx?PageID=2
 
OP
mayanks_098

mayanks_098

world is evil
Re: li'l more patience helps!!

praka123 said:
Ur first entry is for sabayon and 2nd for Ubuntu ?
Code:
# grub.conf generated by anaconda
^^ this must be sabayon Linux.and everything seems fine with ur first post.So there must grub boot menu showing like Sabayon,Other and Ubuntu.
ur 2nd menu.lst is from Ubuntu.
I see no reason for Ubuntu entry not showing in ur grub menu.btwn after the "title" line for every OS u can give whatever name u want.for eg: if u got windows give: title Windows Vista RC2 etc...
Just check again.also from a terminal(Konsole or gnome-terminal) as root run
Code:
~#fdisk  -l
^^ copy paste the output of command from terminal to here.


im nt getng ubuntu in my list.
will boot nw tell u d output of fdisk.btw wat does dis command do?
 
Status
Not open for further replies.
Top Bottom