The time now is Thu 23 May 2013, 06:31
All times are UTC - 4 |
|
Page 10 of 21 [313 Posts] |
Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, ..., 19, 20, 21 Next |
| Author |
Message |
Stripe
Joined: 23 Jun 2010 Posts: 642 Location: In a field. England
|
Posted: Sun 21 Nov 2010, 15:10 Post subject:
|
|
I usualy install grub with the installer, then add the puppy manualy and write the entry to the grub menu, with grub4dos I have just been writing the grub for the hard drives to usb (trying it for security, needing the usb to boot the selected puppys)
I have found when booting from a usb drive that it makes itself hd0,0 making my (normaly) hd0 hard drive hd1 but grub4dos in luci 238 recognises this and alters the grub menu accordingly.
will try an install to a usb then use grub4dos to write the boot record and let you know how I get on.
Cheers
Stripe
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1605 Location: South Australia
|
Posted: Sun 21 Nov 2010, 17:10 Post subject:
|
|
I eventually got the USB Flash drive to boot but I had to do it the old fashion way.
1. I deleted the existing partition
2. Created an Ext4 partition (formatted)
3. Installed GRUB manually (Expert mode)
4. Wrote directly to MBR on Flash drive
5. Modified Menu.lst to suit puppy version
6. Manually copied puppy files to Flash drive
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Sun 21 Nov 2010, 19:00 Post subject:
grub4dosconfig procedure |
|
| smokey01 wrote: | 1. I deleted the existing partition
2. Created an Ext4 partition (formatted)
3. Installed GRUB manually (Expert mode)
4. Wrote directly to MBR on Flash drive
5. Modified Menu.lst to suit puppy version
6. Manually copied puppy files to Flash drive |
Using grub4dosconfig:
1. Delete the existing partition
2 Create new partition table (Device >> Create Partition Table)
3. Create any filesystem partition (and format)
4. (Optionally) Make a directory for puppy files.
5. Manually copy puppy files to Flash drive
6. Run the grub4dosconfig GUI
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Mon 22 Nov 2010, 10:20; edited 1 time in total
|
|
Back to top
|
|
 |
Stripe
Joined: 23 Jun 2010 Posts: 642 Location: In a field. England
|
Posted: Sun 21 Nov 2010, 20:30 Post subject:
|
|
Hi all
Have just done a frugal install of 511 to a usb stick as follows:
1. reformatted usb to EXT2 (gparted checking boot flag)
2. copied puppy files to usb
3. Ran grub4dos-0.4.4.v1.6.2
No problems, gave me the correct options for all my hard drive installations (puppy and non-puppy linux as well.)
Stripe
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Mon 22 Nov 2010, 01:08 Post subject:
Re: the Bootflash and the Grub4DosCinfig. Subject description: Grub4DosCinfig corrupts USB flash treated with Bootflash |
|
| shinobar wrote: | i confirmed the Grub4DosCinfig v1.6.x corrupts USB flash treated with Bootflash USB-HDD type. Doesn't occur with the Grub4DosCinfig v1.5.x.
There maybe something incompatible with the partition table between the Bootflash and the Grub4DosCinfig. We need more investigation on this issue.
Thanks smokey01 for reportiong this issue. |
The partition table written by Gparted:
| Quote: | # fdisk -l /dev/sdd
Disk /dev/sdd: 4043 MB, 4043309056 bytes
255 heads, 63 sectors/track, 491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 491 3943926 b W95 FAT32 |
The partition table written by BootFlash:
| Quote: | # fdisk -l /dev/sdd
Disk /dev/sdd: 4043 MB, 4043309056 bytes
255 heads, 32 sectors/track, 967 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 967 3945344 b W95 FAT32 |
The problem is, we can see, the track size of BootFlash is shorter than Gparted....
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1605 Location: South Australia
|
Posted: Mon 22 Nov 2010, 06:17 Post subject:
|
|
| Quote: | Using grub4dosconfig:
1. Delete the existing partition
2 Create new partition table (Device >> Create Partition Table)
3. Create any filesystem partition (formatted)
4. (Optionally) Make a directory for puppy files.
5. Manually copy puppy files to Flash drive
6. Run the grub4dosconfig GUI |
It worked like a charm. I missed step2.
Thanks
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Mon 22 Nov 2010, 07:19 Post subject:
partition table |
|
| smokey01 wrote: | | Quote: | Using grub4dosconfig:
1. Delete the existing partition
2 Create new partition table (Device >> Create Partition Table)
3. Create any filesystem partition (formatted)
4. (Optionally) Make a directory for puppy files.
5. Manually copy puppy files to Flash drive
6. Run the grub4dosconfig GUI |
It worked like a charm. I missed step2. |
Thanks smokey for testing.
The problem comes from the incompatibility of the partition tables between 'BootFlash' and the Grub4Dosconfig v1.6.x.
I will check the partition table in next version of grub4dosconfig.
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1605 Location: South Australia
|
Posted: Mon 22 Nov 2010, 16:28 Post subject:
|
|
| Stripe wrote: | Hi all
Have just done a frugal install of 511 to a usb stick as follows:
1. reformatted usb to EXT2 (gparted checking boot flag)
2. copied puppy files to usb
3. Ran grub4dos-0.4.4.v1.6.2
No problems, gave me the correct options for all my hard drive installations (puppy and non-puppy linux as well.)
Stripe |
Stripe, what I found really interesting is I did not need to check the boot flag with Gparted.
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
piratesmack

Joined: 16 Sep 2009 Posts: 100
|
Posted: Mon 22 Nov 2010, 16:30 Post subject:
|
|
Shinobar, somebody commented on Barry's blog about their Windows install being broken after installing Grub4dos:
http://bkhome.org/blog/?viewDetailed=01986
I'm not sure what went wrong.
Maybe the "wee" boot code is too large and overwrote something important? Or maybe there is just something wrong with the code I gave you? (I never tested it with Windows)
I think it might be a good idea to go back to the old method, using Grub legacy to chainboot Grub4dos from ext4
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9387 Location: SwedenEurope
|
Posted: Mon 22 Nov 2010, 17:26 Post subject:
|
|
Shinobar and piratesmack ,
This is exactly??? what I experienced and luckily asked you Shinobar while that guy asked Barry instead .
http://bkhome.org/blog/?viewDetailed=01986
| Quote: | Posted on 23 Nov 2010, 3:40 by broomdodger
grub scrub
HP Media Center m7160n
After installing grub4dos
Wary098 started with no problem, but when starting Windows XP the System Recover appeared. I shutdown and checked the menu.lst and it was the same as a Dell notebook similarly configured.
I was able to open System Console but these did not fix it:
fixmba
fixboot
I let System Recover run, did all the MS updates and tried again with the same result ;(
I did not lose any data, but it is a PITA.
Any idea how to gracefully recover?
Delete
Posted on 23 Nov 2010, 5:42 by steve p
re: grub scrub
Grub4dosconfig should have backed up your MBR to a file called sda_mbr.bak (or similar) on your boot partition.
You should be able to restore with:
cat sda_mbr.bak > /dev/sda
I'll look into this some more.
If there is an issue it was likely caused by some code I gave shinobar.
Sorry about that.
Delete
Posted on 23 Nov 2010, 5:45 by steve p
re: grub scrub
Grub4dosconfig should have backed up your MBR to a file called sda_mbr.bak (or similar) on your boot partition.
You should be able to restore with:
cat sda_mbr.bak > /dev/sda
I'll look into this some more.
If there is an issue it was likely caused by some code I gave shinobar.
Sorry about that. |
And by your help I could get it to load the right code instead of the recovery.
Unfortunately for him maybe him being too fast on the trigger going along with recovery changed the links to the older install of Windows.
So could be tricky to find a way back now.
Shinobar you gave me a better menu.lst code that actually changed to another partition so it loaded the right windows partition but I had forgot the password so I don't know if windows really works But it did look okay as far as it allowed me to go having now password to log in.
_________________
I'm a noob so I use Google Search of Puppy Forum
Last edited by nooby on Mon 22 Nov 2010, 18:12; edited 1 time in total
|
|
Back to top
|
|
 |
smokey01

Joined: 30 Dec 2006 Posts: 1605 Location: South Australia
|
Posted: Mon 22 Nov 2010, 17:28 Post subject:
How to install puppy to a usb flash drive Subject description: How to install puppy to a usb flash drive |
|
http://www.smokey01.com/grant/Puppy on a USB Flash Drive.mpeg
_________________ Puppy Software <-> Distros <-> Puppy Linux Tips
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Mon 22 Nov 2010, 20:02 Post subject:
Re: How to install puppy to a usb flash drive Subject description: How to install puppy to a usb flash drive |
|
smokey, great!
Mirrored:
http://shino.pos.to/party/bridge.cgi?video/public/Puppy_on_a_USB_Flash_Drive.mpeg
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Tue 23 Nov 2010, 00:27 Post subject:
Sector/Track |
|
My ATA CFD CSSD-SM64NJ2 has 19 sectors/track!
(But no problem found with the grub4dosconfig v1.6.x.)
| Quote: | # fdisk -l /dev/sda
Disk /dev/sda: 64.0 GB, 64023257088 bytes
224 heads, 19 sectors/track, 29380 cylinders
Units = cylinders of 4256 * 512 = 2179072 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 49 102400 7 HPFS/NTFS
/dev/sda2 49 14680 31134720 7 HPFS/NTFS
/dev/sda3 14680 19617 10506510 83 Linux
/dev/sda4 19617 29379 20772045 5 Extended
/dev/sda5 19617 28382 18651433+ 83 Linux |
EDIT:
Mybe i got it
My ATA CFD CSSD-SM64NJ2 has 19 sectors/track, but the start point of the first partition is at 0x800(LBA), 2048 in decimal, means having enough space for the boot loader.
But the BootFlash makes 32 sectors/track, and the start point of the first partition is at 0x20(LBA), 32 in decimal, means having less space for the large boot loader.
We can see the start point of the first partition examining the 3 bytes, 0x1c6-0x1c8, in the MBR.
I think the structure the BootFlash makes is breaking the usual rule.
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Last edited by shinobar on Tue 23 Nov 2010, 04:08; edited 3 times in total
|
|
Back to top
|
|
 |
Stripe
Joined: 23 Jun 2010 Posts: 642 Location: In a field. England
|
Posted: Tue 23 Nov 2010, 00:36 Post subject:
|
|
Smokey
That is great , Well done
that will help a lot of people
Stripe
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9387 Location: SwedenEurope
|
Posted: Tue 23 Nov 2010, 02:41 Post subject:
|
|
Shinobar
here is how it looks on my Acer D250 with Win7Starter
it has wubi for Ubuntu on it but not sure if that shows up.
# fdisk -l /dev/sda
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 1567 12586896 27 Unknown
/dev/sda2 * 1568 1580 104422+ 7 HPFS/NTFS
/dev/sda3 1581 30402 231506210 7 HPFS/NTFS
#
menu.lst ended up on Sda1 but should be on Sda3 where all Linux stuff is on.
Sda1 or Sda2 has the recovery thing on it. I guess that is how it is for the guy that if failed for too writing on Barry's blog.
So if he did same change in the menu.lst that you told me than most likely he would boot windows correctly unless his recovery thing he did messed it up
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
|
|
Page 10 of 21 [313 Posts] |
Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, ..., 19, 20, 21 Next |
|
|
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
|