[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Debian-NYC] Report on NYLUG presentation



hi. i'd go. i have some experience using this debian sid
based distribution:
 http://www.aptosid.com
i could bring a cd and usb memory stick to start the computer
with this os and then use it to split the partition, install it and
run either with grub. i bet i could get it working with squeeze
as well

... but for the first time i had some problems actually splitting the
partition with gparted and ended up going through all this to get it
working.. it'd be pretty harrowing if it wasn't my computer (and
even then it wasn't so great)

### can't mount anything after splitting ntfs partition

gparted
/dev/sda1 (!) -> <right click> -> information ->
File System: ntfs
Size: 224.61 GiB
...
warning:
ntfsresize v2.0.0 (libntfs 10:0:0)
devie name: /dev/sda1
ntfs volumne versino: 3.1
cluster size: 4096 bytes
current volumne size: 500105212416 bytes (500106 mb)
current device size: 241173402624 bytes (241174 mb)
error: current ntfs volumne size is bigger than the device size!
corrupt partition table or incorrect device partitioning?

unable to read the contents of this file system!
because of this some operations may by unavailable

 ##  following: http://gparted-forum.surf4.info/viewtopic.php?id=14125
mjp@mc3:~$ #new len: 411,321,194 sectors
mjp@mc3:~$ #old len: 756,609,696 sectors
mjp@mc3:~$ #from /sbin/parted: 411312195
mjp@mc3:~$ # from this: http://easycalculation.com/decimal-converter.php
mjp@mc3:~$ #  decimal: 411312194 => hex: 18842042



sudo /sbin/fdisk -l -u /dev/sda

disk /dev/sda: 500.1 gb, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
units = sectors of 1 * 512 = 512 bytes
disk identifier: 0xbf9bbf9b

device    boot    start    end    blocks    id    system
/dev/sda1    *    63    471041864    235520901    7    hpfs/ntfs
/dev/sda2        471041865    952317134    240637635    83    linux
/dev/sda3        952317135    976768064    12225465    82    linux
swap / solaris

sudo /sbin/parted /dev/sda unit s print
model: ata st3500418as (scsi)
disk /dev/sda: 976773168s
sector size (logical/physical): 512b/512b
partition table: msdos

number    start    end    size    type    file ssytem    flags
1    63s    471041864s    471041802s    primary    ntfs    boot
2    471041865s    952317134s    481275270s    primary    ext3    3
952317135s    976768064s    24450930s    primary    linux-swap(new)


sudo dd if=/dev/sda of=sda.mbr bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 b) copied, 2.5888e-05 s, 19.8 mb/s


sudo dd if=/dev/sda of=sda1.pbr bs=512 count=1 skip=63
1+0 records in
1+0 records out
512 bytes (512 b) copied, 2.486e-05 s, 20.6 mb/s

#from: http://easycalculation.com/decimal-converter.php

471041801 => 1C138709

#change *pbr file:
cp sda1.pbr sda1.pbr.O
vi sda1.pbr
[esc] :%!xxd
...
0000020: 0000 0000 8000 8000 f84b 383a 0000 0000  .........kb:....
...

  change this line to include this value backwards: 1C138709, or,
  from:
  f8 4b 38 3a
  to:
  09 87 13 1c
  or:
  0000020: 0000 0000 8000 8000 0987 131c 0000 0000  .........kb:....

[esc] :%!xxd -r
[esc] :wq!

#load this *pbr file on the computer:
sudo dd if=sda1.pbr of=/dev/sda bs=512 count=1 seek=63
1+0 records in
1+0 records out
512 bytes (512 b) copied, 2.8445e-05 s, 18.0 mb/s

#now it's fine, before rebooting, gparted->/dev/sda1-><right click>->information
filesystem: ntfs
size: 224.61 gib
flags: boot

path: /dev/sda1
status: mounted on /media/disk1part1
label:
uuid: 6a8c19af8c1976b3

first sector: 63
last sector: 471041864
total sectors: 471041802
warning:
unable to read the contents of this file system!
because of this some operations may be unavailable.



On Tue, Sep 21, 2010 at 2:41 PM, Richard Darst <rkd@zgib.net> wrote:
> On Mon, Sep 20, 2010 at 11:40:50AM -0400, Hans-Christoph Steiner wrote:
>>
>> Yes, we should have a Squeeze release party where people can come
>> and install/upgrade their computers.  I can offer to host this at
>> NYC Resistor.
>
> This is a great idea!...
>
> Could we make this some sort of regular (every 1-3 months, depending
> on enthusiasm) thing?  We get there and provide help and mentoring to
> people who want to learn Debian.  We bring food and stuff and
> generally have fun, so that it's worth it even if not many people show
> up.
>
> Who would come to something like this either as a student or a
> mentor/helper?
>
> This would be different from our workshop series, and not intended
> to replace Pacific Standard gatherings.
>
> Thoughts?
>
> - Richard
>
> --
> | Richard Darst  -  rkd@          -  boltzmann: up 427 days, 15:32
> |            http://rkd.zgib.net  -  pgp 0xBD356740
> | "Ye shall know the truth and -- the truth shall make you free"
> _______________________________________________
> DebianNYC mailing list
> DebianNYC@vireo.org
> http://lists.vireo.org/cgi-bin/mailman/listinfo/debiannyc
>



-- 
http://www.onenationworkingtogether.org/
_______________________________________________
DebianNYC mailing list
DebianNYC@vireo.org
http://lists.vireo.org/cgi-bin/mailman/listinfo/debiannyc


Reply to: