Has anyone dual booted Puppy + Ubuntu with GRUB2?

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#81 Post by mikeb »

Better than lilos......they get punctured

favorite saying...
'They're not depressed, they're English'

mike

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#82 Post by rjbrewer »

"Close your eyes, grit your teeth, and think of England".

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#83 Post by ecomoney »

So puppy 4.31 has ext4 support? Do you know if gparted can be used to shrink the partition and generate a new one of ext3 so puppy 4.21 could be installed? Its just I have a friend with a 9.10 install Eee and she would like to try Pupeee on it to try. To do it Im going to have to borrow an external CD and I would rather not bother if it cant be done.
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#84 Post by rjbrewer »

I've shrunk partitions a number of times using gparted in 4.1.2.

Haven't tried 4.3.1 gparted though, it creates partitions with
256 inodes, which can cause problems trying to boot earlier
puppies unless grub from 4.3.1 is also installed to mbr.

I'll give it a shot and see what happens.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#85 Post by rjbrewer »

Don't have a clue how this will apply to 9.10, but this is what I found.

Did a full install of 4.3.1 to an ext.4 partition. 2gb
Rebooted the 4.3.1 cd and shrunk the partition in half. 1gb
(4.3.1 partitions can not be worked on with earlier puppy cds')
Booted 4.2.1 cd, created ext.3 partition on unallocated half, and
did full install of 4.2.1
They both work fine.
The grub on the mbr is from 4.3.1 and boots both os.
An earlier grub will not boot 4.3.1 in this case.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#86 Post by mikeb »

The grub on the mbr is from 4.3.1 and boots both os.
An earlier grub will not boot 4.3.1 in this case.
If grub4dos is used then will boot both (latest version) but retain the legacy menu.lst syntax if that makes life easier)

mike

User avatar
ecomoney
Posts: 2178
Joined: Fri 25 Nov 2005, 07:00
Location: Lincolnshire, England
Contact:

#87 Post by ecomoney »

Thanks guys, I will burn a 4.31 cd and test on ubuntu this weekend :D
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]

Sorry, my server is down atm!

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#88 Post by davesurrey »

If grub4dos is used then will boot both (latest version) but retain the legacy menu.lst syntax if that makes life easier)
Just to confirm grub-0.97 (legacy) uses the same menu.lst syntax whether using the grub in the older puppys eg 412 and 420 or the more up to date version used in 431.
It's Grub2 where it's all change.
HTH
Dave

tlcstat
Posts: 87
Joined: Mon 29 Oct 2007, 00:56
Location: SW Virginia mountains

#89 Post by tlcstat »

Greetings,
My frugal boots fine with grub2 but I find that this thread has turned into a forum on ubuntu and grub2 rather than how to enter the boot code. Seems to me that if you don't like Ubuntu 9.10 or Grub 2 then you can put Grub1 on a pendrive and boot your frugals from the pendrive.
For myself Puppy was very useful to me in that it demonstrated that Linux was usable. Ubuntu proved to me that Linux could be "wonderful". After three years of messing with this linux stuff I have finally put together a Linux Distro that has everything that I had in WindowsXP and more, with better performance and stability. So I finally deleted my XP partition and reinstalled as a second partition with Ext3. I was able to do this with Ubuntu 9.10. Working in the terminal is no problem for me. It takes me back to the old MS Dos days. It isn't a matter of whether someone wants to work under the hood. It is a matter of, can you make the Distro functional for millions of school kids all over the planet and also meet the needs of business that need to take care of their customers, not play at the command line. Ubuntu does this! I love Puppy and understand it's original simple objective but sooner or later it will have to grow up.

This works ok for me. But not perfect! If I can get it better I will keep you posted.

menuentry "Puppy Linux Fatdog SDA2"{

set root=(hd0,2)
linux /FatdogFrugal/vmlinuz psubdir=FatdogFrugal
initrd /FatdogFrugal/initrd.gz
}
menuentry "Puppy Linux 431 SDA2"{

set root=(hd0,2)
linux /puppy431/vmlinuz psubdir=puppy431
initrd /puppy431/initrd.gz
}
EOF


TLCSTAT

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#90 Post by Béèm »

rjbrewer wrote:I've shrunk partitions a number of times using gparted in 4.1.2.

Haven't tried 4.3.1 gparted though, it creates partitions with
256 inodes, which can cause problems trying to boot earlier
puppies unless grub from 4.3.1 is also installed to mbr.

I'll give it a shot and see what happens.
I am always afraid that files are fragmented and that shrinking a partition could lead to loss of data.
Am I too afraid?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#91 Post by DaveS »

Béèm wrote:
rjbrewer wrote:I've shrunk partitions a number of times using gparted in 4.1.2.

Haven't tried 4.3.1 gparted though, it creates partitions with
256 inodes, which can cause problems trying to boot earlier
puppies unless grub from 4.3.1 is also installed to mbr.

I'll give it a shot and see what happens.
I am always afraid that files are fragmented and that shrinking a partition could lead to loss of data.
Am I too afraid?
I never had a problem that way Beem.
Spup Frugal HD and USB
Root forever!

tlcstat
Posts: 87
Joined: Mon 29 Oct 2007, 00:56
Location: SW Virginia mountains

Grub 2 This works!

#92 Post by tlcstat »

Greetings,
This is working perfect for me.

menuentry "Puppy Linux Fatdog SDA2"{
set root=(hd0,2)
linux /FatdogFrugal/vmlinuz pmedia=satahd psubdir=FatdogFrugal
initrd /FatdogFrugal/initrd.gz
}
menuentry "Puppy Linux 431 SDA2"{
set root=(hd0,2)
linux /puppy431/vmlinuz pmedia=satahd psubdir=puppy431
initrd /puppy431/initrd.gz
}
EOF

Booting with Grub2 on an Ubuntu 9.10 system.
I have both frugal installs on a separate 5Gig EXT2 partition created with the Puppy 431 CD.
Each directory has a blank text file named "SATAHD".
If you have a IDE drive you may need to rename this to "IDEHD".
Note that the psubdir doesn't have the root indicator "/".
Also, I was getting poor boot performance until I deleted my save file and started over with a new save file. With the new save file there are no boot irregularities {period!].
Have fun.
TLCSTAT

tlcstat
Posts: 87
Joined: Mon 29 Oct 2007, 00:56
Location: SW Virginia mountains

Ubuntu 9.10 Grub 2 Update

#93 Post by tlcstat »

Greetings,
My Ubuntu 9.10 Update just [yesterday] came up with a Grub2 patch that allows the option for scripting in grub.conf. It is an update option. In other words you can install the update to revert to scripting or keep the new grub2 format. Either way the update-grub will apply. I choose to use the new format to put Puppy in the 40_custom file. Life goes on so might as well learn the new format. I'm a new Linux user anyway so no big deal. Just as a side note, I have deleted all of my M$ partitions, so I am now 100% Ext2,3,4. I found out that "Avast has a Linux version and my Serial works for both versions, so I installed Avast in my Ubuntu and now I don't know what to do with it! If I could move it from the virtual to the material I would use it for a door stop.
tlcstat

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#94 Post by Jim1911 »


nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#95 Post by nooby »

Within a few days? we get Ubuntu 10.04 with Grub2 coming and a lot of us want to dualboot ubuntu and puppy and most likely Linux Mint 9 that also will have grub2?

Do easy to follow instructions would be cool to have.

We seems to have to learn to do the UUID thing too

By accident I happen to find out how one did it and now I have already forgotten about it again.

I never managed to do the updating of grub. I had to cheat by manually forcing the config to accept a frugal Puppy and then keep a back up of how one does it in case next automatic update erase or delete my manual cheat code entry.
I use Google Search on Puppy Forum
not an ideal solution though

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#96 Post by Jim1911 »

Ubuntu 9.10 also defaulted to GRUB2. The solution to keeping GRUB.097 is to have a separate boot partition and not allow the new installation to update grub.

However, you must manually edit the menu.lst file and make necessary corrections including the UUID (noted by nooby). This is easily accomplished using a puppy installation. Gparted will provide the UUID information needed. Just highlight the partition, then select Partition > Information.

Personally, I have tried GRUB2 and found that on my system that it is extremely slow compared to GRUB.097, so I reverted back.

Jim

tlcstat
Posts: 87
Joined: Mon 29 Oct 2007, 00:56
Location: SW Virginia mountains

#97 Post by tlcstat »

Greetings,
I have been running Ubuntu 10.04 Beta2 from a 16gig PNY pendrive for a month and it is faster running from the pendrive than 9.10 from my hard drive. So last week I installed the 10.04 beta 2 over my 9.10. The new release in Beta 2 is very crisp and doesn't have the memory leaks that are common on 9.10. Also, it seems to dualboot puppy without the swapfile problems that I was having in the earlier release. I use Grub2 with no problems. I learned long ago that history moves forward not backward. This is just as true for linux as it is for windows.
tlcstat

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#98 Post by nooby »

Heheh I love this one:
I learned long ago that history moves forward not backward. This is just as true for linux as it is for windows.
tlcstat
So let us all vote for a Grub3 where the problem with grub2 are solved.
Instead of being difficult to use manually

we need a Grub3 that is even easier to use
for a newbie to install any kind of OS on USB
or DVD or HDD than current Grub Legacy or
Grub4DOS is and it should have no need for
experteeze knowledge to accomplish it.


So let us " move forward not backward. This should be true for linux as for any kind of OS

Not criticising you tlcstat. I think that Barry did something very good with Puppy and AntiX seems to have liked some feature and have incorporated it in AntiX so hopefully many other devs would follow through too.

AntiX is still too difficult for me to use. I have installed it on two computers bot full and frugal but too much to learn. I had to give up on it.

Even puppy are too difficult. So much to keep in head. My brain fail to remember all the details. Maybe I have an early dementia or something. Too bad.

Think like a newbie
but code like a Pro!
I use Google Search on Puppy Forum
not an ideal solution though

tlcstat
Posts: 87
Joined: Mon 29 Oct 2007, 00:56
Location: SW Virginia mountains

#99 Post by tlcstat »

Greetings,
Wow! finally a linux user that is concerned that it [linux] is too technical! And I was just getting to like it. Ubuntu 10.04 goes a long way toward solving some of these problems for the crossover user and puppy has been working along those lines for a long time also. Regarding legacy grub, I do "get it". The users that have been scripting for ages aren't going to want to change. That's fine with me. I was just sharing my own experience as a user and that is what forums are for. Sorry I got your dander up.
tlcstat

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

grub2 install in frugal installation

#100 Post by don570 »

I just installed ubuntu 10.04 lucid and Grub2 was automatically installed.
It was setup to bootup Ubuntu not Puppy linux.I had to go to the Ubuntu support pages and find out about Grub2. It's quite simple to setup.
First the setup file has been already been created at installation of the system software, so while running the Ubuntu operating system[not puppy] open the file up with the terminal command:

sudo nano /etc/grub.d/40_custom

Let's say I have 2 folders named lighthouse443 and quirky1 on the first partition of the first hard drive(sda1) containing the relevant puppy kernels.
I write the following script:

Code: Select all

#!/bin/sh
echo "Adding 40_custom menu entries." >&2
exec tail -n +3 $0
# 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.

menuentry "lighthouse" {
set root=(hd0,1)
linux /lighthouse443/vmlinuz pmedia=atahd psubdir=lighthouse443
initrd /lighthouse443/initrd.gz
}

menuentry "quirky1" {
set root=(hd0,1)
linux /quirky1/vmlinuz pmedia=atahd psubdir=quirky1
initrd /quirky1/initrd.gz
}

EOF
Now write out and exit. One last terminal command is needed:
sudo update-grub
You can now reboot.Hold the shift key down to get the grub screen and choose your operating system.
Note 1:The second line of script was a suggestion from Ubuntu to
provide visual notification that the '40_custom' file was being read
Note 2:The '40_custom' file is a script and must be made executable but
it is already so no need to worry, but if you aren't sure you can always run:
sudo chmod +x /etc/grub.d/40_custom
-----------------------------------------------------------
Added: once this configuration is done, I discovered that editing the file
named grub.cfg (located on Ubuntu bootup partition)is easy using Puppy Linux. Make modifications once you have booted up Puppy Linux. Ubuntu advises against this but I find that it is safe and convienient. The file `40_custom' can
lie dormant and unused if you make all changes in future from the Puppy OS.
Last edited by don570 on Sat 22 May 2010, 18:01, edited 4 times in total.

Post Reply