Re: Fwd: Progress report on CodeFestAkihabara, macbook Debian installation experience

2006-07-04 Thread Junichi Uekawa
Hi,

  
  # apt-get install refit (when it enters past the NEW queue)
  # gptsync /dev/sda
  
  I've temporarily put refit packages on:
  http://www.netfort.gr.jp/~dancer/tmp/20060702/
 
 I chrooted into /target from the second console of d-i and
 copied the deb package I got from your link.
 I the installed it and run 
 # gptsync /dev/sda
 
 I then installed lilo and rebooted into osx; installed
 refit inside osx and now I can succesfully dual boot.
 Thanx alot for you help.

I think parted is being clever and complying with the spec; which
means it's creating a MBR FAT(fdisk) partition table containing only
one partition. This means if you install with debian-installer, you 
have a broken FAT partition and a correct GPT partition.

At this time, calling gptsync will 'fix' the partition table.

Then, you will be able to install lilo, to the partition. Note that
you don't install lilo to MBR, because MBR doesn't mean much to
MacBook EFI; if you install to the partition, rEFIt will chain load
for you. lilo will need to read the FAT partition table, which means
GPT and FAT needs to be synced.

Also it means that partition to install lilo needs to reside on the
first 4 partitions, since FAT only has 4 primary partitions.


 BTW, the patch below is needed to avoid some warnings
 
 Davide
 
 [EMAIL PROTECTED]:~/refit/refit-0.7$ diff -u debian/rules.orig debian/rules
 --- debian/rules.orig   2006-07-03 21:05:28.0 +0200
 +++ debian/rules2006-07-04 01:28:42.0 +0200
 @@ -42,7 +42,7 @@
 -$(MAKE) -C refit clean
 -$(MAKE) -C gptsync -f Makefile.unix clean 
 #-$(MAKE) -C gptsync -f Makefile clean 
 -   -rm gptsync/*.so gptsync/*.o gptsync/gptsync.efi
 +   -rm -f gptsync/*.so gptsync/*.o gptsync/gptsync.efi
 dh_clean 

Thanks for the patch. However, this warning could be useful
sometimes. It is only emitted for the first-time build only. The error
is ignored with a '-' at the beginning.  For second-time build, a
warning will mean that the rm command is trying to remove something
that doesn't exist, which would be nice to know.


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fwd: Progress report on CodeFestAkihabara, macbook Debian installation experience

2006-07-03 Thread Davide Viti
Hi Junichi,

On Mon, Jul 03, 2006 at 07:47:26AM +0900, Junichi Uekawa wrote:
  could you please give more details about this?
 
 # apt-get install refit (when it enters past the NEW queue)
 # gptsync /dev/sda

ok, so first I need to partition the disk on osx and then
install refit inside debian.
does lilo has to be installed before running gptsync?

 
 I've temporarily put refit packages on:
 http://www.netfort.gr.jp/~dancer/tmp/20060702/

nice, I'll try it tonight.

thanx,
Davide


signature.asc
Description: Digital signature


Re: Fwd: Progress report on CodeFestAkihabara, macbook Debian installation experience

2006-07-03 Thread Davide Viti
On Mon, Jul 03, 2006 at 07:47:26AM +0900, Junichi Uekawa wrote:
 Current work around is to reboot into rEFIt and run gptsync, and
 then run d-i from CDROM, and then configure the bootloader.
   
  
  could you please give more details about this?
 
 # apt-get install refit (when it enters past the NEW queue)
 # gptsync /dev/sda
 
 I've temporarily put refit packages on:
 http://www.netfort.gr.jp/~dancer/tmp/20060702/

I chrooted into /target from the second console of d-i and
copied the deb package I got from your link.
I the installed it and run 
# gptsync /dev/sda

I then installed lilo and rebooted into osx; installed
refit inside osx and now I can succesfully dual boot.
Thanx alot for you help.

BTW, the patch below is needed to avoid some warnings

Davide

[EMAIL PROTECTED]:~/refit/refit-0.7$ diff -u debian/rules.orig debian/rules
--- debian/rules.orig   2006-07-03 21:05:28.0 +0200
+++ debian/rules2006-07-04 01:28:42.0 +0200
@@ -42,7 +42,7 @@
-$(MAKE) -C refit clean
-$(MAKE) -C gptsync -f Makefile.unix clean 
#-$(MAKE) -C gptsync -f Makefile clean 
-   -rm gptsync/*.so gptsync/*.o gptsync/gptsync.efi
+   -rm -f gptsync/*.so gptsync/*.o gptsync/gptsync.efi
dh_clean 
 
 install: build




signature.asc
Description: Digital signature


Re: Fwd: Progress report on CodeFestAkihabara, macbook Debian installation experience

2006-07-02 Thread Junichi Uekawa
Hi,

  --  Forwarded Message  --
  ...
  ...
Current work around is to reboot into rEFIt and run gptsync, and
then run d-i from CDROM, and then configure the bootloader.
  
 
 could you please give more details about this?

# apt-get install refit (when it enters past the NEW queue)
# gptsync /dev/sda

I've temporarily put refit packages on:
http://www.netfort.gr.jp/~dancer/tmp/20060702/

It really needs more work.


 but I don't know how to properly run this (usin bless I guess, but
 I have problems with the syntax)

$ man bless (on MacOSX)

 
  I'm feeling quite stuck since it is impossible to install Debian
  without either an external storage or a MacOSX installation.


regards,
junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fwd: Progress report on CodeFestAkihabara, macbook Debian installation experience

2006-07-01 Thread Davide Viti
On Sat, Jul 01, 2006 at 07:21:32PM +0200, Frans Pop wrote:
 Junichi sent this to d-devel, but I feel it's relevant for d-boot too :-)

thanx, I got a Macbook today and I'm trying to install Debian on it
First experience ever with an Apple product, so I have no background
with tools / problems 

 --  Forwarded Message  --
 ...
 ...
   Current work around is to reboot into rEFIt and run gptsync, and
   then run d-i from CDROM, and then configure the bootloader.
 

could you please give more details about this?
I read about gptsync from:

http://sharealike.org/index.php?p=258more=1c=1tb=1pb=1

but I don't know how to properly run this (usin bless I guess, but
I have problems with the syntax)

 I'm feeling quite stuck since it is impossible to install Debian
 without either an external storage or a MacOSX installation.

same here

thanx,
Davide


signature.asc
Description: Digital signature