The time now is Sat 18 May 2013, 11:22
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 |
shinobar

Joined: 28 May 2009 Posts: 2249 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: 1602 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: 2249 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: 1602 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: 9382 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: 1602 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: 2249 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: 2249 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: 9382 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
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2249 Location: Japan
|
Posted: Tue 23 Nov 2010, 03:52 Post subject:
Windows recovery on HDD |
|
| nooby wrote: | # 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 |
Thanks for your PC's information.
Humm.. the first partition (Unknown) is questionable. Can you see inside sda1 from Puppy?
Will you show me the result of probepart?
I guess:
- sda1 is the recovery system.
- sda2 is normal boot of Windows, you can see 'Boot' directory in it?
- sda3 is where main Windows system, you can see 'Windows' directory in it? And maybe this is 'C:' from the Windows 7.
Right?
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9382 Location: SwedenEurope
|
Posted: Tue 23 Nov 2010, 06:19 Post subject:
|
|
Sorry delay have to go buy food.
# probepart
/dev/sda1|ntfs|25173792
/dev/sda2|ntfs|208844
/dev/sda3|ntfs|463012420
#
Sda1 have
acerboot
boot
systemvolumeinformation
factory
sources
and it have mbr
and your mbr backup sda_mbr.bak
and menu.lst
Sda2 have
boot
systemvolumeinformation
bootmgr
Sda3 has
all the rest. windows and puppy and most likely is seen as root.
So the boot mbr backup and menu.lst seems to have ended up in the recovery partition?
Unless sda2 is something else?
_________________
I'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2249 Location: Japan
|
Posted: Tue 23 Nov 2010, 09:56 Post subject:
recovery partition |
|
| nooby wrote: | # probepart
/dev/sda1|ntfs|25173792
/dev/sda2|ntfs|208844
/dev/sda3|ntfs|463012420 |
What i guessed.
| nooby wrote: | So the boot mbr backup and menu.lst seems to have ended up in the recovery partition?
Unless sda2 is something else? |
Maybe no problem the grldr, menu.lst and sda_mbr.bak on sda1 when Puppy can access them.
The problem was the boot menu mislead to the recovery windows on sda1 instead of the usual Windows boot from sda2.
It is fixed with grub4dosconfig v1.6.1 and later.
Thanks.
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9382 Location: SwedenEurope
|
Posted: Tue 23 Nov 2010, 10:39 Post subject:
|
|
So what do you suggest the poor fellow that complained to Barry should do.
As I get it he had same problem like I had only that he actually used the recovery not being aware of that one needed to change the menu.lst like you told me to.
_________________
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
|