Not signed in (Sign In)

Choose a language

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorminotaur
    • CommentTimeNov 25th 2007
     # 31
    Maybe I'm a little bit persistent, but I wanna make the correct moves. Please be patients with me, guys! I'm not especially strong in command line.
    I opened (from the "Computer" menu of Linux Mint) the file "System/Kernel/Boot/grub of the Gobo partition. Here's what I saw:

    default 0
    #timeout 5
    gf xmenu /System/Kernel/Boot/grub/message

    title Gobolinux - Graphic Desktop
    kernel (hd0,1) /System/Kernel/boot/kernel vga=0 root=/dev/hda2 Boot=Graphic

    title Gobolinux - Console
    kernel (hd0,1) /System/Kernel/Boot/kernel vga=o root=/dev/hda2

    title Gobolinux - Framebuffer Console
    kernel (hd0,1) /System/Kernel/Boot/kernel vga=791 root=/dev/hda2

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

    Are these lines OK? Is there something wrong that I must change?

    m@cCo tells me: "From grub's boot screen type c (it should take you to the command line)" WHERE can I type this? The boot screen changes fast and I don't have the time to type nothing. I tried to stop it by choosing "Other Operating Systems" but nothing happened when I typed "C". It booted to Winutuxu!

    My boot screen gives me the following choices:

    Linux Mint, Kernel 2.6.22-14-generic
    Linux Mint, Kernel 2.6.22-14 (recovery mode)
    Linux Mint kernel memtest86+
    Other Operating Systems
    Microsoft Windows XP Professional (this is "Winutuxu")

    Gobolinux is in the same hard disk with Winutuxu.
    • CommentAuthorm@cCo
    • CommentTimeNov 25th 2007 edited
     # 32
    Ok, so it seems you're booting with linuxmint's grub and not with gobo's one.
    Try to simply copy this part:

    title Gobolinux - Graphic Desktop
    kernel (hd0,1)/System/Kernel/boot/kernel vga=0 root=/dev/hda2 Boot=Graphic

    title Gobolinux - Console
    kernel (hd0,1)/System/Kernel/Boot/kernel vga=o root=/dev/hda2

    title Gobolinux - Framebuffer Console
    kernel (hd0,1)/System/Kernel/Boot/kernel vga=791 root=/dev/hda2

    in the linuxmint's grub configuration (it should be something like /boot/grub/menu.lst or grub.conf), then reboot and look if the gobolinux entries are shown correctly. If it works that way, you're done (is this phrase right in english? I always forget...), otherwise we can try to install grub again.
    Be sure there are no spaces in the string "(hd0,1)/System/Kernel/Boot/kernel".

    P.S.: didn't boot menu let you choose which os to boot? You just have to type c when you're seeing that screen.
    • CommentAuthorMichael
    • CommentTimeNov 25th 2007
     # 33
    Like m@cCo says. You may need to change the (hd0,1) to (hd1,1) (or you may not; try one, then the other).
    • CommentAuthorminotaur
    • CommentTimeNov 25th 2007
     # 34
    Ok guys! Wish me luck!
    • CommentAuthorm@cCo
    • CommentTimeNov 25th 2007 edited
     # 35
    Posted By: minotaurOk guys! Wish me luck!
    In italy I would say you "in the wolf's mouth" (don't ask me the meaning), but I really don't know the english equivalent, so good luck :D

    I'm going to read something and then back to check, if you will still have problems you will have to wait tomorrow morning for my help, but I'm sure everybody could help you better :P

    Good night
    • CommentAuthorminotaur
    • CommentTimeNov 25th 2007
     # 36
    Well, last question before the big operation: Into the grub menu of LM, I see (after the three grub choices of Mint -generic/recovery/memtest):

    ###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/hda1
    title Microsoft Windows XP Professional
    root (hd0,0)
    savedefault
    makeactive
    chainloader +1

    Question is: WHERE DO I PASTE THE GOBO GRUB OPTIONS? In which place? Under the "Microsoft" blah,blah or before "###END DEBIANS...". I'm confused with this "non-linux OS" to "Other operating systems" option.
    • CommentAuthorm@cCo
    • CommentTimeNov 25th 2007
     # 37
    Where you do prefer, they're all boot entries, but debian installer, as written, divided linux from other OSs (Windows in your case). For sake of consistency I'd say just after the linuxmint entries and just before the ###END DEBIANS... line.
    Again, good luck and good night.
    • CommentAuthorMichael
    • CommentTimeNov 25th 2007 edited
     # 38
    It doesn't really matter where they are - the divider is just so that debian doesn't mess with your own settings when you upgrade kernels. The "Other operating systems" thing is just a title to separate things, it doesn't change anything. So anywhere after the "###END DEBIAN ..." is fine.

    Edited to clarify after seeing m@cCo's post: if you put them before the ###END DEBIAN ... line, they may get wiped in a future apt-get upgrade, so put them afterwards.
    • CommentAuthorm@cCo
    • CommentTimeNov 25th 2007
     # 39
    Posted By: MichaelIt doesn't really matter where they are - the divider is just so that debian doesn't mess with your own settings when you upgrade kernels. The "Other operating systems" thing is just a title to separate things, it doesn't change anything. So anywhere after the "###END DEBIAN ..." is fine.

    Edited to clarify after seeing m@cCo's post: if you put them before the ###END DEBIAN ... line, they may get wiped in a future apt-get upgrade, so put them afterwards.
    Good point, my fault.

    Bye.
    • CommentAuthorminotaur
    • CommentTimeNov 25th 2007
     # 40
    Well, I copied exactly the lines that you gave me, but I can't save the document! I receive the message: "Could not save the file /boot/grub/menu.lst
    You do not have the permissions necessary to save the file. Please check that you typed the locations correctly and try again".
    Now, what?
    • CommentAuthorminotaur
    • CommentTimeNov 26th 2007
     # 41
    I did another step. I finally entered to command line with "c" and typed the commands.
    Here's the results:

    root (hd0,1): Filesystem type is ext2fs Partition type 0x83

    kernel /System/Kernel/Boot/kernel root=/dev/hda2: [Linux-bzImage, Setup=0x1e00 size 0x46fd58]

    boot: Welcome to Gobolinux 014-rc2

    From that moment, it asked for my name & password. I typed it but it didn't recognize it! I tried my alternative user's password and it accepted it! It asked me for a command. I typed "startx" (as I didn't know what to type). It returned to me: xauth: creating new authority file/users/myname/.serverauth.3268
    X: error while loading shared libraries: libgcc_s.so.1:cannot open shared object file: No such file or directory xinit. Server Error".

    Will I see Gobolinux in my computer or no? I'm desperate!
    • CommentAuthorm@cCo
    • CommentTimeNov 26th 2007
     # 42
    You'll probably see it, but you have to be patient.
    As for the first issue you must edit the file with root permissions: use sudo if it's installed or type su and then provide root password when asked to.

    sudo your_editor_here /boot/grub/menu.lst
    or

    su #it will ask you for root password
    your_editor_here /boot/grub/menu.lst

    Next to the second: what username and password did you try? The ones you created with the gobolinux installer? Which account did you manage to enter with?

    Last but not least: look here for a solution to the problem.
    • CommentAuthorminotaur
    • CommentTimeNov 26th 2007
     # 43
    I tried the username and password that I created with the installer. I entered with the second user's account! Strange...
    • CommentAuthorminotaur
    • CommentTimeNov 26th 2007
     # 44
    When I try to give a root command with -su or -sudo and giving my password, it returns me:
    "Authentication failure. Sorry". Why is that?
    • CommentAuthorm@cCo
    • CommentTimeNov 26th 2007
     # 45
    You don't have to provide your password, but the root password, which you should know, if the system was installed by you.
    Btw what's the "second user's account"? Did you create two "normal" user account besides the gobo (root) one?
    • CommentAuthorminotaur
    • CommentTimeNov 26th 2007
     # 46
    In the GParted, there is a choice for a second user that is proposed as "recommended". I placed there a second name and password (it's me again). I just added a second user.
    • CommentAuthorminotaur
    • CommentTimeNov 26th 2007 edited
     # 47
    Posted By: m@cCo: You don't have to provide your password, but the root password, which you should know, if the system was installed by you.
    Btw what's the "second user's account"? Did you create two "normal" user account besides the gobo (root) one?
    ------------------------------------------------------------------------------------

    What do you mean by "root password"? Isn't the password that you must give when you enter the system?
    • CommentAuthorMichael
    • CommentTimeNov 26th 2007 edited
     # 48
    The root password is something you probably set up during the Linux Mint install (it will have been flagged as pretty important). If you didn't, it's possible Linux Mint uses sudo for everything (I don't know), in which case `sudo nano -w /boot/grub/menu.lst` will work (entering your own user account's password this time if you're prompted).

    If neither of those works or you don't know the password, you can edit the file from Gobo (either installed or from the live CD) by mounting the partition and editing it there as root. If the Linux Mint partition is /dev/hdb1, you'd do the following in Gobo:
    ] su
    [enter the root password you set during the install here.]
    [If you're on the livecd, you only have to do the part after this, not the su.]
    ] mkdir mint
    ] mount /dev/hdb1 mint
    ] nano -w mint/boot/grub/menu.lst
    You can make the changes given there and restart. Ctrl-O saves, Ctrl-X exits.

    Remember that your Linux Mint users and your Gobo users are completely separate; they maintain their own user databases.
    • CommentAuthorminotaur
    • CommentTimeNov 26th 2007 edited
     # 49
    Indeed, Michael, I opened a terminal and typed the `sudo nano -w /boot/grub/menu.lst`, command. I had results! I received a long list (with the grub procedures, right?). But what to do there? How can pull out the Gobo grub?
    • CommentAuthorminotaur
    • CommentTimeNov 26th 2007
     # 50
    "...you can edit the file from Gobo (either installed or from the live CD) by mounting the partition and editing it there as root".

    ----------------------------------------

    How can I do this?
    • CommentAuthorMichael
    • CommentTimeNov 26th 2007 edited
     # 51
    Posted By: minotaurIndeed, Michael, I opened a terminal and typed the `sudo nano -w /boot/grub/menu.lst`, command. I had results! I received a long list (with the grub procedures, right?). But what to do there? How can pull out the Gobo grub?
    It's a text editor. You move around with the arrows and type. If you're running it in a graphical environment, you can just copy and paste in the text m@cCo provided above in post #32 by selecting it and then using the middle mouse button (or pressing the left and right at the same time) in the terminal window, once you've put the cursor where you want the text to go. If you're at the bare console, you'll have to type it in.

    Alternatively, run this (I recommend doing it the other way, but if you can't manage, copy and paste this entire line into a terminal and run it):
    cp /boot/grub/menu.lst /boot/grub/menu.lst.backup ; { cat /boot/grub/menu.lst ; echo -e "\ntitle Gobolinux - Graphic Desktop\nkernel (hd0,1)/System/Kernel/boot/kernel vga=0 root=/dev/hda2 Boot=Graphic\ntitle Gobolinux - Console\nkernel (hd0,1)/System/Kernel/Boot/kernel vga=o root=/dev/hda2\ntitle Gobolinux - Framebuffer Console\nkernel (hd0,1)/System/Kernel/Boot/kernel vga=791 root=/dev/hda2"; } | sudo tee /boot/grub/menu.lst

    (n.b.: you may have to change the (hd0,1) and /dev/hda2 parts in the same way we pointed out above. Try it this way first.)

    Posted By: minotaur"...you can edit the file from Gobo (either installed or from the live CD) by mounting the partition and editing it there as root".

    ----------------------------------------

    How can I do this?
    Using the instructions I posted in my last post (the code block right after that line you quoted).
    • CommentAuthorminotaur
    • CommentTimeNov 26th 2007
     # 52
    Tried the terminal way:

    cp: missing destination file operand after `/boot/grub/menu.lst/boot/grub/menu.lst.backup'

    Try `cp --help' for more information
    bash: {cat/boot/grub/menu.lst: No such file or directory
    • CommentAuthorm@cCo
    • CommentTimeNov 27th 2007
     # 53
    Posted By: minotaurTried the terminal way:

    cp: missing destination file operand after `/boot/grub/menu.lst/boot/grub/menu.lst.backup'

    Try `cp --help' for more information
    bash: {cat/boot/grub/menu.lst: No such file or directory
    Did you put a space between /boot/grub/menu.lst and /boot/grub/menu.lst.backup? It is telling you that you're missing the destination file which you want to copy to.
    • CommentAuthorminotaur
    • CommentTimeNov 27th 2007
     # 54
    Well, I left a space between them and I received:

    cp: cannot create regular file `/boot/grub/menu.lst.backup': Permission denied.
    bash: {cat/boot/grub/menu.lst: No such file or directory.

    Asked me for my [sudo] password and when I gave it, returned:

    Intitle Gobolinux - Graphic Desktop\nkernel (hd0,1)/System/Kernel/boot/ernel vga=0 root=/dev/hda2 Boot=Graphic\ntitle Gobolinux - Console\nkernel (hd0,1)/System/Kernel/Boot/kernel vga=o root=/dev/hda2\ntitle Gobolinux - Framebuffer Console\nkernel (hd0,1)/System/Kernel/Boot/kernel vga=791 root=/dev/hda2}

    Now, what?
    • CommentAuthorm@cCo
    • CommentTimeNov 27th 2007 edited
     # 55
    Did you also put a space between cat and /boot/grub/menu.lst? They're all commands, not part of the path. Btw why don't you try the editor way? If you can use sudo you're done. Just open the file with

    sudo nano -w /boot/grub/menu.lst
    and then paste the gobo entries we posted before.
    • CommentAuthoribendiben
    • CommentTimeNov 27th 2007
     # 56
    I don't know if it really makes any difference but if you are going to paste the menu.lst entries from gobolinux to Mint it might be better to match the Mint layout of the grub menu.lst file. So I would change this:

    title Gobolinux - Graphic Desktop
    kernel (hd0,1) /System/Kernel/boot/kernel vga=0 root=/dev/hda2 Boot=Graphic

    title Gobolinux - Console
    kernel (hd0,1) /System/Kernel/Boot/kernel vga=o root=/dev/hda2

    title Gobolinux - Framebuffer Console
    kernel (hd0,1) /System/Kernel/Boot/kernel vga=791 root=/dev/hda2
    ...to this:
    title GoboLinux - Graphic Desktop
    root (hd0,1)
    kernel /System/Kernel/Boot/kernel root=/dev/hda2 vga=0 Boot=Graphic

    title Gobolinux - Console
    root (hd0,1)
    kernel /System/Kernel/Boot/kernel root=/dev/hda2 vga=0

    title Gobolinux - Framebuffer Console
    root (hd0,1)
    kernel /System/Kernel/Boot/kernel root=/dev/hda2 vga=791

    At least Ubuntu uses a layout like that. But also with other distributions that "root" line seemed to be more usual. Also it seems more logical to place "vga=.." behind "root=..". Again I don't know if it is really making any difference, but the above worked for me when I used the grub menu from Ubuntu to start Gobolinux.

    ps. notice that your post above had vga=o instead of vga=0... careful with that.
    • CommentAuthorminotaur
    • CommentTimeNov 27th 2007
     # 57
    Same answer again: "Cannot create regular file..."

    As for the editor, I don't understand exactly the way we use it! (See, I came from Windows!) You don't mean the terminal! Where is this editor in Linux Mint and how can I use it?
    • CommentAuthoribendiben
    • CommentTimeNov 27th 2007 edited
     # 58
    I'm quite new to linux too.
    When you need to edit a system file, the biggest problem is that you need root permissions. So you need to open the file via the terminal using su/sudo.
    Nano is a text editor that works in the terminal. Gedit for example is a graphical editor used by Ubuntu and is more similar to notepad in Windows. You can open a file using, say gedit with root permissions by executing "sudo gedit ".
    You can browse to the grub folder using the cd (change directory) comment:
    cd /boot/grub
    then to be sure you can type
    ls
    so you get a list of files that are in the current (grub) folder. You'll see menu.lst there too.
    Now you can open menu.lst with root permissions using:
    sudo nano menu.lst
    When you open this file in nano you can first make a backup by saving it under a different name:
    press ctrl-key+x -> then change name -> then press enter
    now you can add the gobo lines in there... and when you're done with that you can save it as menu.lst:
    press ctrl+x again -> change name to menu.lst again -> enter

    When you're using a graphical editor such as gedit, I don't know which one Mint uses, you can just change 'nano' to the program name you want to use and to save you can just use ->file -> 'save' or 'save as' like with notepad in Windows.

    A faster way to is to make a copy of the menu.lst file and save the copy under a different name. To copy a file you use 'cp'. So you get this line:
    sudo cp /boot/grub/menu.lst /boot/grub/menu.lst
    And to edit the menu.lst file in nano:
    sudo nano /boot/grub/menu.lst
    • CommentAuthorm@cCo
    • CommentTimeNov 27th 2007 edited
     # 59
    Ibendiben answered you for the editor part. Concerning sudo, I've yet to understand if you can use it.
    Just to be sure: open /etc/sudoers (in linuxmint) with whatever editor you want (you won't need root permissions to read it, you can just open it from your file manager as well, just browse /etc as you would do in Windows), then post its content here, thanks.

    However, don't you remember if linuxmint installation procedure asked you for the root account's password? It sounds weird to me...

    P.S.: the layout of menu.lst doesn't really make any difference, they're simply grub commands which grub executes. And I also think the order of kernel parameters isn't that important.
    • CommentAuthorMichael
    • CommentTimeNov 27th 2007
     # 60
    Posted By: minotaur
    cp: cannot create regular file `/boot/grub/menu.lst.backup': Permission denied.
    bash: {cat/boot/grub/menu.lst: No such file or directory.
    Ah, sorry - of course you can't write there as a regular user. My mistake. It also looks like you missed out some spaces that need to be there, and have o instead of 0 once or twice. Copy and paste this, don't try to type it in - the spaces are important, and so is "vga=0".
    cp /boot/grub/menu.lst ~/menu.lst.backup ; { cat /boot/grub/menu.lst ; echo -e "\ntitle Gobolinux - Graphic Desktop\nkernel (hd0,1)/System/Kernel/boot/kernel vga=0 root=/dev/hda2 Boot=Graphic\ntitle Gobolinux - Console\nkernel (hd0,1)/System/Kernel/Boot/kernel vga=o root=/dev/hda2\ntitle Gobolinux - Framebuffer Console\nkernel (hd0,1)/System/Kernel/Boot/kernel vga=791 root=/dev/hda2\n"; } | sudo tee /boot/grub/menu.lst


    It looks like you may have edited the file last time, so first either restore the backup you made earlier (just copy it in over the top of /boot/grub/menu.lst), or take the line at the end out in nano - Ctrl-K kills the current line, then Ctrl-X to exit and save. Alternatively, have Linux Mint reconfigure grub itself if it's too far gone. It looks possible you may have overwritten the file completely from the error output. Linux Mint seems to be a Debian derivative, so run `update-grub` as root to do that.

    I will repeat my recommendation of using a text editor to do the whole thing rather than this method. It's much easier to work with, and less fraught with errors like that.

    Posted By: minotaurAs for the editor, I don't understand exactly the way we use it! (See, I came from Windows!) You don't mean the terminal! Where is this editor in Linux Mint and how can I use it?
    As I said before, you need to run `sudo nano -w /boot/grub/menu.lst`, which I think you said you already did. That is a text editor. You use the arrow keys to move the cursor around, and you type like you usually would. Ctrl-O saves, Ctrl-K deletes a line, Ctrl-X exits. You can select text in one program (in a graphical interface), say the browser, and paste it in by middle-clicking in the terminal window with the file open. If you don't have a middle button, use the left and right simultaneously.

    You can use another editor if you prefer (although I can't imagine vi's going to be easier for you...), but it really does need to be a terminal one, since we don't know how Linux Mint is set up well enough to tell you how to run a graphical one as root (it's not simple, because of Xorg's security features).