Subversion Repositories livecd

Rev

Rev 51 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 51 Rev 63
Line 519... Line 519...
519
    chmod 600 $NEW/boot/grub/grub.conf
519
    chmod 600 $NEW/boot/grub/grub.conf
520
    ln -s ../boot/grub/grub.conf $NEW/etc/grub.conf
520
    ln -s ../boot/grub/grub.conf $NEW/etc/grub.conf
521
    ln -s ./grub.conf $NEW/boot/grub/menu.lst
521
    ln -s ./grub.conf $NEW/boot/grub/menu.lst
522
    echo "done."; echo
522
    echo "done."; echo
523
 
523
 
-
 
524
 
-
 
525
    ### create /etc/sysconfig/grub file
-
 
526
    ### -----------------------------------------------------------
-
 
527
    cat > $NEW/etc/sysconfig/grub <<EOF    
-
 
528
boot=$MBR_DEV
-
 
529
forcelba=0
-
 
530
EOF
-
 
531
 
-
 
532
 
524
fi
533
fi
525
 
534
 
526
 
535
 
527
### install kernel and other files into /boot
536
### install kernel and other files into /boot
528
### -----------------------------------------------------------
537
### -----------------------------------------------------------
Line 546... Line 555...
546
cp -a $BOOT_DIR/message            $NEW/boot/        2>/dev/null
555
cp -a $BOOT_DIR/message            $NEW/boot/        2>/dev/null
547
 
556
 
548
echo "done."; echo
557
echo "done."; echo
549
 
558
 
550
 
559
 
-
 
560
### create /etc/sysconfig/kernel file
-
 
561
### -----------------------------------------------------------
-
 
562
cat > $NEW/etc/sysconfig/kernel <<EOF    
-
 
563
# UPDATEDEFAULT specifies if new-kernel-pkg should make
-
 
564
# new kernels the default
-
 
565
UPDATEDEFAULT=yes
-
 
566
 
-
 
567
# DEFAULTKERNEL specifies the default kernel package type
-
 
568
DEFAULTKERNEL=kernel
-
 
569
EOF
-
 
570
 
-
 
571
 
551
### create /etc/fstab
572
### create /etc/fstab
552
### -----------------------------------------------------------
573
### -----------------------------------------------------------
553
cat > $NEW/etc/fstab <<EOF
574
cat > $NEW/etc/fstab <<EOF
554
$INSTALL_PART         /                    ext3    defaults        1 1
575
$INSTALL_PART         /                    ext3    defaults        1 1
555
devpts            /dev/pts             devpts  gid=5,mode=620  0 0
576
devpts            /dev/pts             devpts  gid=5,mode=620  0 0