Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 19 Jun 2013, 22:59
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
[SOLVED] mint-puppy dual boot grub2 inquiry
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [31 Posts]   Goto page: 1, 2, 3 Next
Author Message
sgull


Joined: 26 Mar 2012
Posts: 52

PostPosted: Mon 26 Mar 2012, 17:04    Post subject:  [SOLVED] mint-puppy dual boot grub2 inquiry  

I'm wanting to do a frugal install of either Wary Puppy or Lucid Puppy onto my laptop hard disk alongside the currently installed Mint 12, so as to have a dual-boot situation with both OS (the Mint and one of the puppies) on the disk. From what I can understand after reading about it a little, and from others who've tried Puppy alongside Mint, is that there can be some issues in regard to whether the grub2 bootloader (installed along with Mint and which is its bootloader) will easily recognize Puppy after it's installed and will just more or less automatically add it to its boot menu without the user having to do a bunch of reconfiguring and/or reinstallation of grub2 in order to avoid booting problems afterwards or otherwise having it not go smoothly because of some kind of incompatibility issue with such a dual-boot. Not being particularly experienced and with just basic foggy understanding of grub2 inner-workings, etc. I prefer to avoid the necessity to "fiddle" around with the bootloader more than absolutely required to keep it working (booting) after making changes to the disk.
My question(s) are:
1. Because Lucid Puppy is apparently "Ubuntu-based" or related otherwise with Ubuntu more than the other puppies, and since Mint is Ubuntu based also, does that mean Lucid may actually use grub2 or perhaps be more compatible in that respect to work alongside Mint/grub2 as a dual-boot? I am not clear about this, but I think its the case that Wary Puppy utilizes Grub Legacy and that in itself would complicate things with the Mint/grub2.
2. My Mint installation partition "scheme" on the disk is simple, just one primary partition which includes everything (boot, root, home, etc) and another primary partition for swap. I've been told that typically in such a case, where simply adding one Linux distro alongside another on the same disk, that grub2 should just automatically detect and adjust necessary without the user having to reconfigure grub2 and all that. Is Puppy for some reason an exception, because perhaps it does not use grub2?

Any comments/advice appreciated.

Last edited by sgull on Wed 04 Apr 2012, 00:35; edited 2 times in total
Back to top
View user's profile Send private message 
capicoso

Joined: 13 Jan 2012
Posts: 169
Location: Argentina

PostPosted: Mon 26 Mar 2012, 17:39    Post subject:  

Lucid puppy isn't ubuntu based, its build from scratch with the woof? builder if i'm not mistaken. Lucid puppy is related to ubuntu because it has support for ubuntu 10.04 .deb packages. Grub2 won't recognise your frugal puppy. Maybe a full installation? But in my case it didn't recognise it. As far as i know, any distro will work with any grub or even windows boot. I have a triple boot with grub2, ubuntu, windows loader, frugal puppy 5.28.
I would do the following:
Make a frugal install of puppy, just the puppy, not grub.
Go to your Mint distro or even from puppy and go to your /boot folder which inside has the grub folder, enter it. Look for grub.cfg, on Mint you may have to enter as root, so open your explorer with root access or:
Code:
sudo gedit(or whatever text editor you use) /boot/grub/grub.cfg

Scroll down until you see the boot entries and under:
Code:
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

add your puppy entry(mine looks like this):
Code:
echo "Adding Puppy Linux to GRUB 2"

menuentry "Lucid Puppy Linux 5.28 (frugal on sda8)"{
set root='(hd0,8)'
linux /puppycapi/vmlinuz
initrd /puppycapi/initrd.gz
}

You should change the routes:
set root='(hd0,8 )' in your case you should change it to the partition where your frugal puppy is, if you install it to your mint partition, then it would be 0,1, if you're using SATA disks... i think linux starts counting from 0,0 if they are ATA disks. And also change
linux /puppycapi/vmlinuz
initrd /puppycapi/initrd.gz
/puppycapi is the folder where my frugal puppy is.

Before doing anything make a backup of your grub.cfg. Also i'd suggest that you make a separate partition for /boot but that doesn't matter now.

If you need to, tell me and i post my grub.cfg so you see how it looks.
Hope it helped.
Back to top
View user's profile Send private message 
sgull


Joined: 26 Mar 2012
Posts: 52

PostPosted: Mon 26 Mar 2012, 20:32    Post subject:  

capicoso,

Thanks for your reply, and instructions. However, I am somewhat confused by a few of your comments (as I've quoted below) and have questions/comments regarding those:

1. "Grub2 won't recognise your frugal puppy. Maybe a full installation?"

I assume you mean to say that Grub2 won't recognize my frugal puppy unless I perform the steps (enter the commands) as per your instructions provided? Or, if not, and it's the case that Grub2 will absolutely not recognize my frugal puppy, then your comment #3 (as numbered below) seems (to me) to contradict that Grub2 will not recognize frugal puppy because you mention you have a triple boot where (apparently?) Grub2 does in fact recognize frugal puppy.

I'm not sure what would be the distinction between what might be considered a "full installation" and the "frugal" puppy install. The way I understand it, the frugal Puppy method is the method by which to install Puppy onto hard disk (which is what I am wanting to do). The mention of a "full installation" implies to me that is something different than the "frugal" installation. Could you please attempt to clarify that for me?


2. "As far as i know, any distro will work with any grub..."

If any distro will work with any grub, why then comment #1 that Grub2 won't recognize my frugal puppy? Or are you saying that frugal puppy will work only (and be recognized of course) by Grub2 if I do the Grub2 editing as you describe in your instructions?

3. I have a triple boot with grub2, ubuntu, windows loader, frugal puppy 5.28.

Then if I'm understanding correctly, you must have done the Grub2 editing as you described to get the Grub2 working/booting with the multi-OS installed.

4. "Make a frugal install of puppy, just the puppy, not grub."

The way I understand it, doing a frugal install of puppy already means just installing puppy and not grub. That's all I was hoping to be able to do, just install puppy on my hard disk (along with Mint as described, dual-boot), and have the Grub2 which is already on the disk and which boots Mint also do the job of booting puppy if I choose it among those two choices in the Grub2 boot menu. I did not expect nor intend to have to (re)install Grub2 along with or addition to puppy if I were to do a frugal install.

Finally, if I was to follow the instructions you provided (editing grub file), do I do that via live cd after doing the frugal install? Because it seems if I do the frugal install onto my hard disk and the machine won't boot into Mint (or Puppy) because of the change, then obviously I wouldn't be able to go in and do the editing of the grub file any other way. Sorry for being so confused, and asking such seemingly confusing questions. Thanks
Back to top
View user's profile Send private message 
capicoso

Joined: 13 Jan 2012
Posts: 169
Location: Argentina

PostPosted: Mon 26 Mar 2012, 21:15    Post subject:  

sgull wrote:
capicoso,

Thanks for your reply, and instructions. However, I am somewhat confused by a few of your comments (as I've quoted below) and have questions/comments regarding those:

1. "Grub2 won't recognise your frugal puppy. Maybe a full installation?"

I assume you mean to say that Grub2 won't recognize my frugal puppy unless I perform the steps (enter the commands) as per your instructions provided? Or, if not, and it's the case that Grub2 will absolutely not recognize my frugal puppy, then your comment #3 (as numbered below) seems (to me) to contradict that Grub2 will not recognize frugal puppy because you mention you have a triple boot where (apparently?) Grub2 does in fact recognize frugal puppy.

I'm not sure what would be the distinction between what might be considered a "full installation" and the "frugal" puppy install. The way I understand it, the frugal Puppy method is the method by which to install Puppy onto hard disk (which is what I am wanting to do). The mention of a "full installation" implies to me that is something different than the "frugal" installation. Could you please attempt to clarify that for me?


2. "As far as i know, any distro will work with any grub..."

If any distro will work with any grub, why then comment #1 that Grub2 won't recognize my frugal puppy? Or are you saying that frugal puppy will work only (and be recognized of course) by Grub2 if I do the Grub2 editing as you describe in your instructions?

3. I have a triple boot with grub2, ubuntu, windows loader, frugal puppy 5.28.

Then if I'm understanding correctly, you must have done the Grub2 editing as you described to get the Grub2 working/booting with the multi-OS installed.

4. "Make a frugal install of puppy, just the puppy, not grub."

The way I understand it, doing a frugal install of puppy already means just installing puppy and not grub. That's all I was hoping to be able to do, just install puppy on my hard disk (along with Mint as described, dual-boot), and have the Grub2 which is already on the disk and which boots Mint also do the job of booting puppy if I choose it among those two choices in the Grub2 boot menu. I did not expect nor intend to have to (re)install Grub2 along with or addition to puppy if I were to do a frugal install.

Finally, if I was to follow the instructions you provided (editing grub file), do I do that via live cd after doing the frugal install? Because it seems if I do the frugal install onto my hard disk and the machine won't boot into Mint (or Puppy) because of the change, then obviously I wouldn't be able to go in and do the editing of the grub file any other way. Sorry for being so confused, and asking such seemingly confusing questions. Thanks


No problem.
1.
When i said that puppy wouldn't recognise your installation, i meant that i wouldn't do it automatically, and that you would need to follow my explanation.
Full installation is a standard install, like any other OS, mint, ubuntu, windows, anything. It installs on a partition and uses all that partition for it. A frugal install(recommended) is way uhh better, more versatile. The program just copies 3 or 4 files i think(vmlinuz, initrd.gz, main.sfs) and everything runs from those files. You also will be told to make a savefile, where every program, options, etc, will be saved. Then everytime puppy boots, will load that file. With this method, you dont have to format or partition. You can install it (like i did) together with your Mint. In my ubuntu i have all the folders, plus /puppycapi and there are the puppy files. This way is also better to backup. If you want to make a backup of your system, you just copy your savefile, if you screw the system up, you just paste it again, i don't know if im clear, just ask...

2.
I meant that Any distro will work with any grub, by editing the grub manually...
So yeah, the frugall install will work with grub2 if you follow my instructions.

3.
Yes, just to add the frugal puppy, the rest worked alone.
4.
Yes, a frugal install means that it install just the puppy. I just told you that not to install grub, because after doing the frugal install, it'll tell you that you need a grub, and that you should go to menu and run grub2dos or a program like that. Ignore what i told you about not installing grub, it was confusing, what you say is correct.

Finally;
you don't need to do it from a live cd, after the frugal install, if you reboot, you'll see your grub2 like always, and boot into mint, you won't see the puppy option. Puppy doesn't affect grub2, grub2 won't change, so you can do it on mint. That doesn't mean that you CANT do it from a live cd.
The way i'd do it:
make the frugal install from puppy live, and before rebooting, edit the grub.cfg from puppy going to your mint partition(and you won't need root access). But i'd suggest you to do it on Mint because maybe, you're more familiar with it and it's easier.

In other words:
1. Frugal install of puppy(you can watch a vid on youtube on how to do it in 5min)
2. Reboot, it'll ask you to save your session and make a savefile, do it. Use .3fs format when it asks you, select your savefile size(you can modify it later), name it.
3. Enter to Mint like everyday, go edit the grub.cfg to where you installed puppy.
4. Reboot and you should have your puppy on grub2.

I'll be around for a while, so just ask.
Back to top
View user's profile Send private message 
capicoso

Joined: 13 Jan 2012
Posts: 169
Location: Argentina

PostPosted: Mon 26 Mar 2012, 21:18    Post subject:  

capicoso wrote:
sgull wrote:
capicoso,

Thanks for your reply, and instructions. However, I am somewhat confused by a few of your comments (as I've quoted below) and have questions/comments regarding those:

1. "Grub2 won't recognise your frugal puppy. Maybe a full installation?"

I assume you mean to say that Grub2 won't recognize my frugal puppy unless I perform the steps (enter the commands) as per your instructions provided? Or, if not, and it's the case that Grub2 will absolutely not recognize my frugal puppy, then your comment #3 (as numbered below) seems (to me) to contradict that Grub2 will not recognize frugal puppy because you mention you have a triple boot where (apparently?) Grub2 does in fact recognize frugal puppy.

I'm not sure what would be the distinction between what might be considered a "full installation" and the "frugal" puppy install. The way I understand it, the frugal Puppy method is the method by which to install Puppy onto hard disk (which is what I am wanting to do). The mention of a "full installation" implies to me that is something different than the "frugal" installation. Could you please attempt to clarify that for me?


2. "As far as i know, any distro will work with any grub..."

If any distro will work with any grub, why then comment #1 that Grub2 won't recognize my frugal puppy? Or are you saying that frugal puppy will work only (and be recognized of course) by Grub2 if I do the Grub2 editing as you describe in your instructions?

3. I have a triple boot with grub2, ubuntu, windows loader, frugal puppy 5.28.

Then if I'm understanding correctly, you must have done the Grub2 editing as you described to get the Grub2 working/booting with the multi-OS installed.

4. "Make a frugal install of puppy, just the puppy, not grub."

The way I understand it, doing a frugal install of puppy already means just installing puppy and not grub. That's all I was hoping to be able to do, just install puppy on my hard disk (along with Mint as described, dual-boot), and have the Grub2 which is already on the disk and which boots Mint also do the job of booting puppy if I choose it among those two choices in the Grub2 boot menu. I did not expect nor intend to have to (re)install Grub2 along with or addition to puppy if I were to do a frugal install.

Finally, if I was to follow the instructions you provided (editing grub file), do I do that via live cd after doing the frugal install? Because it seems if I do the frugal install onto my hard disk and the machine won't boot into Mint (or Puppy) because of the change, then obviously I wouldn't be able to go in and do the editing of the grub file any other way. Sorry for being so confused, and asking such seemingly confusing questions. Thanks


No problem.
1.
When i said that puppy wouldn't recognise your installation, i meant that i wouldn't do it automatically, and that you would need to follow my explanation.
Full installation is a standard install, like any other OS, mint, ubuntu, windows, anything. It installs on a partition and uses all that partition for it. A frugal install(recommended) is way uhh better, more versatile. The program just copies 3 or 4 files i think(vmlinuz, initrd.gz, main.sfs) and everything runs from those files. You also will be told to make a savefile, where every program, options, etc, will be saved. Then everytime puppy boots, will load that file. With this method, you dont have to format or partition. You can install it (like i did) together with your Mint. In my ubuntu i have all the folders, plus /puppycapi and there are the puppy files. This way is also better to backup. If you want to make a backup of your system, you just copy your savefile, if you screw the system up, you just paste it again, i don't know if im clear, just ask...

2.
I meant that Any distro will work with any grub, by editing the grub manually...
So yeah, the frugall install will work with grub2 if you follow my instructions.

3.
Yes, just to add the frugal puppy, the rest worked alone.
4.
Yes, a frugal install means that it install just the puppy. I just told you that not to install grub, because after doing the frugal install, it'll tell you that you need a grub, and that you should go to menu and run grub2dos or a program like that. Ignore what i told you about not installing grub, it was confusing, what you say is correct.

Finally;
you don't need to do it from a live cd, after the frugal install, if you reboot, you'll see your grub2 like always, and boot into mint, you won't see the puppy option. Puppy doesn't affect grub2, grub2 won't change, so you can do it on mint. That doesn't mean that you CANT do it from a live cd.
The way i'd do it:
make the frugal install from puppy live, and before rebooting, edit the grub.cfg from puppy going to your mint partition(and you won't need root access). But i'd suggest you to do it on Mint because maybe, you're more familiar with it and it's easier.

In other words:
1. Frugal install of puppy(you can watch a vid on youtube on how to do it in 5min)
2. Reboot, it'll ask you to save your session and make a savefile, do it. Use .3fs format when it asks you, select your savefile size(you can modify it later), name it.
3. Enter to Mint like everyday, go edit the grub.cfg to make puppy appear on the grub2.
4. Reboot and you should have your puppy on grub2.

I'll be around for a while, so just ask.
Back to top
View user's profile Send private message 
sgull


Joined: 26 Mar 2012
Posts: 52

PostPosted: Mon 26 Mar 2012, 22:14    Post subject:  

capicoso wrote:

after the frugal install, if you reboot, you'll see your grub2 like always, and boot into mint, you won't see the puppy option.

1. Frugal install of puppy(you can watch a vid on youtube on how to do it in 5min)
2. Reboot, it'll ask you to save your session and make a savefile, do it. Use .3fs format when it asks you, select your savefile size(you can modify it later), name it.
3. Enter to Mint like everyday, go edit the grub.cfg to where you installed puppy.
4. Reboot and you should have your puppy on grub2.


Thanks very much for the further response and clarification.

At this point then my questions concern what I've made into bold font in the quotes above.

On my disk with only the single (Mint) OS installed, I do not see a grub2 at bootup/startup. There is no grub2 menu or anything else appearing on the screen before Mint boots (other than the pc vendor splash screen). In the past I've had dual-boot with Windows and Mint where indeed the grub2 boot menu would appear and allow me to select either of which to boot into. But with the single OS installed now, I don't see any grub beforehand of Mint starting up. So I'd expect your response to that would be well then just allow the pc to boot into Mint like always, and if that indeed is what you would say then I can of course do that. Just curious though whether you or for that matter others typically have a grub2 boot menu appear even when they only have one OS installed on the disk? Seems I read that usually a grub2 menu will not appear in that case, but only if there are two or more OS to choose from.

When it asks me to make a savefile will I assume I will be presented with the option to save it as .3fs format? Never heard of such a format before. Nothing to do with ext3 format is it? Just curious because never heard of it.

thanks again
Back to top
View user's profile Send private message 
capicoso

Joined: 13 Jan 2012
Posts: 169
Location: Argentina

PostPosted: Mon 26 Mar 2012, 22:27    Post subject:  

sgull wrote:
capicoso wrote:

after the frugal install, if you reboot, you'll see your grub2 like always, and boot into mint, you won't see the puppy option.

1. Frugal install of puppy(you can watch a vid on youtube on how to do it in 5min)
2. Reboot, it'll ask you to save your session and make a savefile, do it. Use .3fs format when it asks you, select your savefile size(you can modify it later), name it.
3. Enter to Mint like everyday, go edit the grub.cfg to where you installed puppy.
4. Reboot and you should have your puppy on grub2.


Thanks very much for the further response and clarification.

At this point then my questions concern what I've made into bold font in the quotes above.

On my disk with only the single (Mint) OS installed, I do not see a grub2 at bootup/startup. There is no grub2 menu or anything else appearing on the screen before Mint boots (other than the pc vendor splash screen). In the past I've had dual-boot with Windows and Mint where indeed the grub2 boot menu would appear and allow me to select either of which to boot into. But with the single OS installed now, I don't see any grub beforehand of Mint starting up. So I'd expect your response to that would be well then just allow the pc to boot into Mint like always, and if that indeed is what you would say then I can of course do that. Just curious though whether you or for that matter others typically have a grub2 boot menu appear even when they only have one OS installed on the disk? Seems I read that usually a grub2 menu will not appear in that case, but only if there are two or more OS to choose from.

When it asks me to make a savefile will I assume I will be presented with the option to save it as .3fs format? Never heard of such a format before. Nothing to do with ext3 format is it? Just curious because never heard of it.

thanks again

Oh, i thought you saw grub2. I don't know about mint, but with ubuntu alone, showed me the grub2, with 4 entries, ubuntu, ubuntu recovery mode, memory test, and another memory test. Seems mint doesn't add those entries. Could you copy what your grub.cfg looks like? Yes, it'll ask to choose between .2fs and .3fs. Yes it does, .2fs refers to ext2 and .3fs to ext3, it means that puppy filesystem will be either ext2 or ext3, it doesn't matter where it's installed. .3fs is better for powerfailure problems and such.
Back to top
View user's profile Send private message 
sgull


Joined: 26 Mar 2012
Posts: 52

PostPosted: Tue 27 Mar 2012, 01:27    Post subject:  

capicoso wrote:
I don't know about mint, but with ubuntu alone, showed me the grub2, with 4 entries, ubuntu, ubuntu recovery mode, memory test, and another memory test. Seems mint doesn't add those entries. Could you copy what your grub.cfg looks like?


Hmm, from this Ubuntu grub2 documentation web page which includes description of the grub2 menu behavior, it says "GRUB 2 will boot straight into the default operating system if no other operating system is detected. No menu will be displayed. If another operating system is detected, the GRUB 2 menu will display." So it'd be interesting to know then why you get (but yet I don't get) the menu with the single OS by itself.
[from Boot Display Behavior 5.1 in the text]
https://help.ubuntu.com/community/Grub2#Boot_Display_Behavior

My grub.cfg file, copied below:

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 2d399445-5b5d-47c4-957b-5b8c0eba123d
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 2d399445-5b5d-47c4-957b-5b8c0eba123d
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,0,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/06_mint_theme ###
set menu_color_normal=white/black
set menu_color_highlight=white/light-gray
### END /etc/grub.d/06_mint_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda1)' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 2d399445-5b5d-47c4-957b-5b8c0eba123d
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=2d399445-5b5d-47c4-957b-5b8c0eba123d ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-12-generic
}
menuentry 'Linux Mint 12 32-bit, 3.0.0-12-generic (/dev/sda1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 2d399445-5b5d-47c4-957b-5b8c0eba123d
echo 'Loading Linux 3.0.0-12-generic ...'
linux /boot/vmlinuz-3.0.0-12-generic root=UUID=2d399445-5b5d-47c4-957b-5b8c0eba123d ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-12-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
### END /etc/grub.d/10_lupin ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 2d399445-5b5d-47c4-957b-5b8c0eba123d
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 2d399445-5b5d-47c4-957b-5b8c0eba123d
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Back to top
View user's profile Send private message 
capicoso

Joined: 13 Jan 2012
Posts: 169
Location: Argentina

PostPosted: Tue 27 Mar 2012, 07:22    Post subject:  

I may be wrong and i had also win xp installed, it was long ago so i dont remember. Your grub.cfg is fine. Add the lines i told you modifing first the routes to where you'll install your puppy
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 9479
Location: SwedenEurope

PostPosted: Tue 27 Mar 2012, 09:24    Post subject:  

I know nothing but from what I have read.

As soon as LM update it also most likely update grub2 and that
way one can lose the manual puppy entry in grub.conf
so the proper way is to make the 40_ something.

40_custom file and then go into LM and do the upgrade of grub2
and that way it get recognized.

But others know how to do this I have no idea. Maybe there exists also
10_custom, 20_custom and 30_custom files to look in???

I have found texts on internet telling how one could force grub2 to
not change when it updates but such is for those who knows what it means.

Sadly I have no link.

_________________

I'm a noob so I use Google Search of Puppy Forum

Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 807

PostPosted: Tue 27 Mar 2012, 10:18    Post subject:  

this link might be helpful:

http://www.murga-linux.com/puppy/viewtopic.php?t=74248


(and I think it gets at what Nooby was trying to say)


And btw-- if you get too frustrated trying messing with boot loaders, remember you can do one of the following as a permanent or temporary solution:
1) put puppy on a thumb drive and boot from USB
or
2) boot using the live CD. When you shut down it will ask if you want a save file. Put the save file on your Harddrive (or usb stick). It will also ask if you want to move some of the files from the CD to the HD. Do this too. From then on, continue to boot using the CD. Since almost all of the large files from the CD have been copied to the harddrive, you're really only using the CD to bypass grub. (the CD only spins for a second and then will automatically shift to using the files you've copied to the HD). If you want to boot mint, take out the CD first.

I've been doing number 2 for nearly 2 years on a computer that my wife insists that I "not mess up," and in fact it remains the recommended method on the main puppy page:
http://puppylinux.org/main/How%20NOT%20to%20install%20Puppy.htm
Back to top
View user's profile Send private message 
bignono1


Joined: 17 May 2009
Posts: 344
Location: New ME

PostPosted: Tue 27 Mar 2012, 13:51    Post subject:  

If you want to do it the easy way just run grub4dos, if you want to do it with mint grub then just edit /boot/grub/grub.conf like capicoso said , keeping in mind your drive name and puppy dir name.
Back to top
View user's profile Send private message 
sgull


Joined: 26 Mar 2012
Posts: 52

PostPosted: Tue 27 Mar 2012, 14:18    Post subject:  

Thanks for all the replies so far. Seems then there are at least a couple methods with which what I'm wanting to do can be accomplished. I'll need to take some time to consider each one before proceeding. Will post back after taking some real action on this, or with yet more questions beforehand otherwise.
Back to top
View user's profile Send private message 
WillM

Joined: 30 Dec 2009
Posts: 101
Location: Oakland, California

PostPosted: Tue 27 Mar 2012, 14:51    Post subject:  

Hi.

If the boot menu doesn't show, it might be necessary to edit /etc/default/grub to change the timeouts for the amount of seconds desired. Mine looks like;
Code:

GRUB_HIDDEN_TIMEOUT=15
GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=15


If you would like Puppy Linux to boot by default, without having to make a selection. Start from 0 and count to where Puppy Linux is listed in the menu. There will probably be two menu entries for Mint, two for memtest, then Puppy Linux. so that would be;
Code:

GRUB_DEFAULT=4

Run sudo update-grub after editing this file.
Like nooby said any entries you made in grub.cfg will be lost after updating grub. That is why it is best to make menu entries in /etc/grub.d/40_custom, since this is the file
grub.cfg reads when updating.
Back to top
View user's profile Send private message 
capicoso

Joined: 13 Jan 2012
Posts: 169
Location: Argentina

PostPosted: Tue 27 Mar 2012, 19:03    Post subject:  

I forgot about the update-grub part, sorry. The rest is okay tho
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [31 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1258s ][ Queries: 12 (0.0046s) ][ GZIP on ]